Class AppointmentItem (Outlook VBA)
The class AppointmentItem represents a meeting, a one-time appointment, or a recurring appointment or meeting in the Calendar folder.
The classes Exception, MeetingItem and RecurrencePattern. give access to class AppointmentItem
Dim aim as AppointmentItem
Set aim = Session.CreateSharingItem.Move.Items(Index:=1)
For Each
Here is an example of processing the AppointmentItem items in a collection.
Dim aimItem As AppointmentItem
For Each aimItem In Session.CreateSharingItem.Move.Items
Next aimItem
Methods
ClearRecurrencePattern - Removes the recurrence settings and restores the single-occurrence state for an appointment or task.
Copy - Creates another instance of an object.
CopyTo - Copies the AppointmentItem to the folder that is specified by the DestinationFolder parameter and returns an object that represents the item created in the destination folder by the copy operation.
Delete - Removes the item from the folder that contains the item.
Display - Displays a new Inspector object for the item.
ForwardAsVcal - Forwards the AppointmentItem as a vCal; virtual calendar item.
GetConversation - Obtains a Conversation object that represents the conversation to which this item belongs.
GetOrganizer - Obtains the AddressEntry object that contains information from the Address Book about the organizer of the AppointmentItem.
GetRecurrencePattern - Returns a RecurrencePattern object that represents the recurrence attributes of an appointment.
Move - Moves a Microsoft Outlook item to a new folder.
PrintOut - Prints the Outlook item using all default settings.The PrintOut method is the only Outlook method that can be used for printing.
Respond - Responds to a meeting request.
Save - Saves the Microsoft Outlook item to the current folder or, if this is a new item, to the Outlook default folder for the item type.
SaveAs - Saves the Microsoft Outlook item to the specified path and in the format of the specified file type. If the file type is not specified, the MSG format (.msg) is used.
ShowCategoriesDialog - Displays the Show Categories dialog box, which allows you to select categories that correspond to the subject of the item.
Properties
Actions returns an Actions collection that represents all the available actions for the item.
AllDayEvent returns True if the appointment is an all-day event (as opposed to a specified time).
Attachments returns an Attachments object that represents all the attachments for the specified item.
AutoResolvedWinner returns a Boolean that determines if the item is a winner of an automatic conflict resolution.
BillingInformation returns or sets a String representing the billing information associated with the Outlook item.
Body returns or sets a String representing the clear-text body of the Outlook item.
BusyStatus returns or sets an OlBusyStatus constant indicating the busy status of the user for the appointment.
Categories returns or sets a String representing the categories assigned to the Outlook item.
Class returns an OlObjectClass constant indicating the object's class.
Companies returns or sets a String representing the names of the companies associated with the Outlook item.
Conflicts return the Conflicts object that represents the items that are in conflict for any Outlook item object.
ConversationID returns a String that uniquely identifies a Conversation object that the AppointmentItem object belongs to.
ConversationIndex returns a String that indicates the relative position of the item within the conversation thread.
ConversationTopic returns a String representing the topic of the conversation thread of the Outlook item.
CreationTime returns a Date indicating the creation time for the Outlook item.
DoNotForwardMeeting
DownloadState returns a constant that belongs to the OlDownloadState enumeration indicating the download state of the item.
Duration returns or sets a Long indicating the duration (in minutes) of the AppointmentItem.
End returns or sets a Date indicating the end date and time of an AppointmentItem.
EndInEndTimeZone returns or sets a Date value that represents the end date and time of the appointment expressed in the AppointmentItem.EndTimeZone.
EndTimeZone returns or sets a TimeZone value that corresponds to the end time of the appointment.
EndUTC returns or sets a Date value that represents the end date and time of the appointment expressed in the Coordinated Universal Time (UTC) standard.
EntryID returns a String representing the unique Entry ID of the object.
FDelegateAppt
ForceUpdateToAllAttendees returns or sets a Boolean value that indicates whether updates to the AppointmentItem object should be sent to all attendees.
FormDescription returns the FormDescription object that represents the form description for the specified Outlook item.
FOthersAppt
GetInspector returns an Inspector object that represents an inspector initialized to contain the specified item.
GlobalAppointmentID returns a String value that represents a unique global identifier for the AppointmentItem object.
Importance returns or sets an OlImportance constant indicating the relative importance level for the Outlook item.
InternetCodepage returns or sets a Long that determines the Internet code page used by the item.
IsConflict returns a Boolean that determines if the item on the local computer is different from the copy on the server.
IsRecurring returns a Boolean value that is True if the appointment is a recurring appointment.
ItemProperties returns an ItemProperties collection that represents all standard and user-defined properties associated with the Outlook item.
LastModificationTime returns a Date specifying the date and time that the Outlook item was last modified.
Location returns or sets a String representing the specific office location (for example, Building 1 Room 1 or Suite 123) for the appointment.
MarkForDownload returns or sets an OlRemoteStatus constant that determines the status of an item once it is received by a remote user.
MeetingStatus returns or sets an OlMeetingStatus constant specifying the meeting status of the appointment.
MeetingWorkspaceURL returns a String value that represents the URL for the Meeting Workspace that the appointment item is linked to.
MessageClass returns or sets a String representing the message class for the Outlook item.
Mileage returns or sets a String representing the mileage for an item.
NoAging returns or sets a Boolean value that is True to not age the Outlook item.
OptionalAttendees returns or sets a String representing the display string of optional attendees names for the appointment.
Organizer returns a String representing the name of the organizer of the appointment.
OutlookInternalVersion returns a Long representing the build number of the Outlook application for an Outlook item.
OutlookVersion returns a String indicating the major and minor version number of the Outlook application for an Outlook item.
PropertyAccessor returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AppointmentItem object.
Recipients returns a Recipients collection that represents all the recipients for the Outlook item.
RecurrenceState returns an OlRecurrenceState constant indicating the recurrence property of the specified object.
ReminderMinutesBeforeStart returns or sets a Long indicating the number of minutes the reminder should occur prior to the start of the appointment.
ReminderOverrideDefault returns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item.
ReminderPlaySound returns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item.
ReminderSet returns or sets a Boolean value that is True if a reminder has been set for this item.
ReminderSoundFile returns or sets a String indicating the path and file name of the sound file to play when the reminder occurs for the Outlook item.
ReplyTime returns or sets a Date indicating the reply time for the appointment.
RequiredAttendees returns a semicolon-delimited String of required attendee names for the meeting appointment.
Resources returns a semicolon-delimited String of resource names for the meeting.
ResponseRequested returns a Boolean that indicates True if the sender would like a response to the meeting request for the appointment.
ResponseStatus returns an OlResponseStatus constant indicating the overall status of the meeting for the current user for the appointment.
RTFBody returns or sets a Byte array that represents the body of the Microsoft Outlook item in Rich Text Format. Read/write.
Saved returns a Boolean value that is True if the Outlook item has not been modified since the last save.
SendUsingAccount returns or sets an Account object that represents the account under which the AppointmentItem is to be sent.
Sensitivity returns or sets a constant in the OlSensitivity enumeration indicating the sensitivity for the Outlook item.
Session returns the NameSpace object for the current session.
Size returns a Long indicating the size (in bytes) of the Outlook item.
Start returns or sets a Date indicating the starting date and time for the Outlook item.
StartInStartTimeZone returns or sets a Date value that represents the start date and time of the appointment expressed in the AppointmentItem.StartTimeZone.
StartTimeZone returns or sets a TimeZone value that corresponds to the time zone for the start time of the appointment.
StartUTC returns or sets a Date value that represents the start date and time of the appointment expressed in the Coordinated Universal Time (UTC) standard.
Subject returns or sets a String indicating the subject for the Outlook item.
UnRead returns or sets a Boolean value that is True if the Outlook item has not been opened (read).
UserProperties returns the UserProperties collection that represents all the user properties for the Outlook item.
Related Classes
Account - The Account object represents an account that is defined for the current profile.
Actions - Contains a collection of Action objects that represent all the specialized actions that can be executed on an Outlook item.
AddressEntry - Represents a person, group, or public folder to which the messaging system can deliver messages.
Attachments - Contains a set of Attachment objects that represent the attachments in an Outlook item.
Conflicts - Contains a collection of Conflict objects that represent all Microsoft Outlook items that are in conflict with a particular Outlook item.
Conversation - Represents a conversation that includes one or more items stored in one or more folders and stores.
Folder - Represents an Outlook folder.
FormDescription - Represents the general properties of an Outlook form.
Inspector - Represents the window in which an Outlook item is displayed.
ItemProperties - A collection of all properties associated with the item.
MailItem - Represents a mail message.
MeetingItem - Represents a change to the recipient's Calendar folder initiated by another party or as a result of a group action.
NameSpace - Represents an abstract root object for any data source.
PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.
Recipients - Contains a collection of Recipient objects for an Outlook item.
RecurrencePattern - Represents the pattern of incidence of recurring appointments and tasks for the associated AppointmentItem and TaskItem object.
TimeZone - Represents information for a time zone as supported by Windows.
UserProperties - Contains UserProperty objects that represent the custom properties of an Outlook item.