Class Property

Microsoft Outlook Visual Basic

Class Property

       

Returns an OlObjectClass constant indicating the object's class. Read-only.

OlObjectClass can be one of these OlObjectClass constants.
olAction
olActions
olAddressEntries
olAddressEntry
olAddressList
olAddressLists
olApplication
olAppointment
olAttachment
olAttachments
olAutoFormatRule
olAutoFormatRules
olCalendarViewField
olCalendarViewFields
olCardViewField
olCardViewFields
olClassCalendarView
olClassCardView
olClassIconView
olClassTableView
olClassTimelineView
olContact
olDistributionList
olDocument
olException
olExceptions
olExplorer
olExplorers
olFolder
olFolders
olFormDescription
olIconViewField
olIconViewFields
olInspector
olInspectors
olItemProperties
olItemProperty
olItems
olJournal
olLink
olLinks
olMail
olMeetingCancellation
olMeetingRequest
olMeetingResponseNegative
olMeetingResponsePositive
olMeetingResponseTentative
olNamespace
olNote
olObjects
olOutlookBarGroup
olOutlookBarGroups
olOutlookBarPane
olOutlookBarShortcut
olOutlookBarShortcuts
olOutlookBarStorage
olPages
olPanes
olPost
olPropertyPages
olPropertyPageSite
olRecipient
olRecipients
olRecurrencePattern
olRemote
olReport
olResults
olSearch
olSelection
olSyncObject
olSyncObjects
olTableViewField
olTableViewFields
olTask
olTaskRequest
olTaskRequestAccept
olTaskRequestDecline
olTaskRequestUpdate
olTimelineViewField
olTimelineViewFields
olUserProperties
olUserProperty
olViews
 

expression.Class

expression   Required. An expression that returns an Outlook object.