vbMAPI Outlook/MAPI Code Library
(v1.16.0)

ref: vbMAPI_AppointmentItem

On this page you'll find:

Class Description

This object is a wrapper for the MAPI IMessage object. To create a new object of type vbMAPI_MailItem, use the vbMAPI_FolderItems Add method. To open an existing object, use the vbMAPI_FolderItems Item method.


Property Get Properties() As vbMAPI_Properties

Exposes a collection of the MAPI properties set on this message.  The default member of the vbMAPI_Properties class is Item, therefore in VB you can call vbMAPI_MailItem.Properties(PropTag) directly.

Property Get NamedProperties(ByVal PropertySetGUID As String, _
              ByVal ID As Variant, _
              ByVal DataType As EnumMAPIPropDataTypes) As vbMAPI_Property

Provides access to MAPI named properties for this MailItem.

PropertySetGUID: A string representation of the property set GUID (e.g. )
ID: The name (string) or property identifier (integer) representing the property to query from the property set.
DataType: The MAPI data type of the property.

Property Get ConversationIndex() As Variant

Property Let ConversationIndex(ByVal RetVal As Variant)

Returns/sets the value of the MAPI property PR_CONVERSATION_INDEX from this message.

Property Get ConversationTopic() As String

Property Let ConversationTopic(ByVal RetVal As String)

Returns/sets the value of the MAPI property PR_CONVERSATION_TOPIC from this message.

Property Get CreationTime() As Date

Returns the value of the MAPI property PR_CREATION_TIME from this message.

Property Get EntryID() As String

Returns the value of the MAPI property PR_ENTRYID from this message.

Property Get Importance() As EnumImportance

Property Let Importance(ByVal RetVal As EnumImportance)

Returns/sets the value of the MAPI property PR_IMPORTANCE from this message.

Property Get InternetCodepage() As Long

Property Let InternetCodepage(ByVal RetVal As Long)

Returns/sets the value of the MAPI property PR_INTERNET_CPID from this message.

Property Get LastModificationTime() As Date

Returns the value of the MAPI property PR_LAST_MODIFICATION_TIME from this message.

Property Get MessageClass() As String

Property Let MessageClass(ByVal RetVal As String)

Returns/sets the value of the MAPI property PR_MESSAGE_CLASS from this message.

Property Get Sensitivity() As EnumSensitivity

Property Let Sensitivity(ByVal RetVal As EnumSensitivity)

Returns/sets the value of the MAPI property PR_SENSITIVITY from this message.

Property Get Size() As Long

Returns the value of the MAPI property PR_MESSAGE_SIZE from this message.

Property Get Subject() As String

Property Let Subject(ByVal RetVal As String)

Returns/sets the value of the MAPI property PR_SUBJECT from this message.

Property Get ParentEntryID() As String

Returns the value of the MAPI property PR_PARENT_ENTRYID from this message.

Property Get BillingInformation() As String

Property Let BillingInformation(ByVal RetVal As String)

Returns/sets the BillingInformation Outlook property.

Property Get OutlookInternalVersion() As Long

Property Let OutlookInternalVersion(ByVal RetVal As Long)

Returns/sets the OutlookInternalVersion Outlook property.

Property Get HidePaperClip() As Boolean

Property Let HidePaperClip(ByVal RetVal As Boolean)

Returns/sets the HidePaperClip Outlook property.

Property Get Mileage() As String

Property Let Mileage(ByVal RetVal As String)

Returns/sets the Mileage Outlook property.

Property Get NoAging() As Boolean

Property Let NoAging(ByVal RetVal As Boolean)

Returns/sets the NoAging Outlook property.

Property Get OutlookVersion() As String

Property Let OutlookVersion(ByVal RetVal As String)

Returns/sets the OutlookVersion Outlook property.

Property Get Body() As vbMAPI_EncodedBody

Returns/sets the plain text version of the body for this message.  Can be derived from HTML/RTF if not supported by the message store, or if explicitly requested using the Source parameter.

The default member of the vbMAPI_EncodedBody class is the Value property, therefore you can ignore the vbMAPI_EncodedBody class and treat this property as a string.

Property Get HTMLBody() As vbMAPI_EncodedBody

Returns/sets the HTML version of the body for this message.  Can be derived from RTF/PlainText if not supported by the message store, or if explicitly requested using the Source parameter.

The default member of the vbMAPI_EncodedBody class is the Value property, therefore you can ignore the vbMAPI_EncodedBody class and treat this property as a string.

Property Get RTFBody() As vbMAPI_EncodedBody

Returns/sets the RTF version of the body for this message.  Can be derived from HTML/PlainText if not supported by the message store, or if explicitly requested using the Source parameter.

The default member of the vbMAPI_EncodedBody class is the Value property, therefore you can ignore the vbMAPI_EncodedBody class and treat this property as a string.

Property Get Recipients() As vbMAPI_Recipients

Property Let Recipients(ByVal InRecipients As vbMAPI_Recipients)

Provides a collection of recipient objects associated with this message.

You can copy whole collections between objects by assigning the Recipients property to another vbMAPI_Recipients collection.

Property Get RequiredAttendees() As String

Property Let RequiredAttendees(ByVal Val As String)

Returns/sets a string list of all required attendees (the TO recipients of the appointment).

Property Get OptionalAttendees() As String

Property Let OptionalAttendees(ByVal Val As String)

Returns/sets a string list of all optional attendees (the CC recipients of the appointment).

Property Get Resources() As String

Property Let Resources(ByVal Val As String)

Returns/sets a string list of all resources (the BCC recipients of the appointment).

Property Get Parent() As vbMAPI_Folder

Returns the parent folder object associated with this object.

Sub Save()

Saves any modifications made to the current message.

Sub Send()

Submits the message to the message store for sending.  Implicit saving of recipients, attachments and the message itself occurs before sending.

Property Get Session() As vbMAPI_Session

Returns the session object associated with this object.

Property Get UnRead() As Boolean

Property Let UnRead(ByVal Val As Boolean)

Returns/sets the read/unread status of the message.

Property Get DownloadState() As EnumDownloadState

Retrieves the download state of the message (fully downloaded or header only).

Property Get ReminderMinutesBeforeStart() As Long

Property Let ReminderMinutesBeforeStart(ByVal Value As Long)

Returns/sets the ReminderMinutesBeforeStart Outlook property.

Property Get ReminderPlaySound() As Boolean

Property Let ReminderPlaySound(ByVal Value As Boolean)

Returns/sets the ReminderPlaySound Outlook property.

Property Get ReminderSet() As Boolean

Property Let ReminderSet(ByVal Value As Boolean)

Returns/sets the ReminderSet Outlook property.

Property Get ReminderSoundFile() As String

Property Let ReminderSoundFile(ByVal Value As String)

Returns/sets the ReminderSoundFile Outlook property.

Property Get ReminderOverrideDefault() As Boolean

Property Let ReminderOverrideDefault(ByVal Value As Boolean)

Returns/sets the ReminderOverrideDefault Outlook property.

Property Get AllDayEvent() As Boolean

Property Let AllDayEvent(ByVal Value As Boolean)

Returns/sets the AllDayEvent Outlook property.

Property Get BusyStatus() As EnumBusyStatus

Property Let BusyStatus(ByVal Value As EnumBusyStatus)

Returns/sets the BusyStatus Outlook property.

Property Get ConferenceServerAllowExternal() As Boolean

Property Let ConferenceServerAllowExternal(ByVal Value As Boolean)

Returns/sets the ConferenceServerAllowExternal Outlook property.

Property Get ConferenceServerPassword() As Boolean

Property Let ConferenceServerPassword(ByVal Value As Boolean)

Returns/sets the ConferenceServerPassword Outlook property.

Property Get Duration() As Long

Property Let Duration(ByVal Value As Long)

Returns/sets the Duration Outlook property.

Property Get End() As Date

Property Let End(ByVal Value As Date)

Returns/sets the End Outlook property.

Property Get IsRecurring() As Boolean

Property Let IsRecurring(ByVal Value As Boolean)

Returns/sets the IsRecurring Outlook property.

Property Get Location() As String

Property Let Location(ByVal Value As String)

Returns/sets the Location Outlook property.

Property Get MeetingStatus() As Long

Property Let MeetingStatus(ByVal Value As Long)

Returns/sets the MeetingStatus Outlook property.

Property Get NetMeetingAutoStart() As Boolean

Property Let NetMeetingAutoStart(ByVal Value As Boolean)

Returns/sets the NetMeetingAutoStart Outlook property.

Property Get NetMeetingDocPathName() As String

Property Let NetMeetingDocPathName(ByVal Value As String)

Returns/sets the NetMeetingDocPathName Outlook property.

Property Get NetMeetingOrganizerAlias() As String

Property Let NetMeetingOrganizerAlias(ByVal Value As String)

Returns/sets the NetMeetingOrganizerAlias Outlook property.

Property Get NetMeetingServer() As String

Property Let NetMeetingServer(ByVal Value As String)

Returns/sets the NetMeetingServer Outlook property.

Property Get NetMeetingType() As Long

Property Let NetMeetingType(ByVal Value As Long)

Returns/sets the NetMeetingType Outlook property.

Property Get NetShowURL() As String

Property Let NetShowURL(ByVal Value As String)

Returns/sets the NetShowURL Outlook property.

Property Get ReplyTime() As Date

Property Let ReplyTime(ByVal Value As Date)

Returns/sets the ReplyTime Outlook property.

Property Get ResponseStatus() As Long

Property Let ResponseStatus(ByVal Value As Long)

Returns/sets the ResponseStatus Outlook property.

Property Get Start() As Date

Property Let Start(ByVal Value As Date)

Returns/sets the Start Outlook property.

Property Get ResponseRequested() As Boolean

Property Let ResponseRequested(ByVal RetVal As Boolean)

Returns the value of the MAPI property PR_RESPONSE_REQUESTED from this message.

Property Get Organizer() As String

Property Let Organizer(ByVal RetVal As String)

Returns the value of the MAPI property PR_SENT_REPRESENTING_NAME from this message.

Property Get MAPIOBJECT() As Variant

Returns the IMessage object associated with this item.