Condividi tramite


AppointmentItem Object

Exception
AppointmentItem
Multiple objects

Represents an appointment in the Calendar folder. An AppointmentItem object can represent a meeting, a one-time appointment, or a recurring appointment or meeting.

Using the AppointmentItem Object

Use the CreateItem method to create an AppointmentItem object that represents a new appointment.

The following Visual Basic for Applications (VBA) example returns a new appointment.

Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.CreateItem(olAppointmentItem)

Use Items (index), where index is the index number of an appointment or a value used to match the default property of an appointment, to return a single AppointmentItem object from a Calendar folder.

You can also return an AppointmentItem object from a MeetingItem object by using the GetAssociatedAppointment method.

Remarks

If a program tries to reference any type of recipient information by using the Outlook object model, a dialog box is displayed that asks you to confirm access to this information. You can allow access to the Address Book or recipient information for up to ten minutes after you receive the dialog box. This allows features, such as mobile device synchronization, to be completed.

You receive the confirmation dialog box when a solution tries to programmatically access the following properties of the AppointmentItem object:

  • Organizer
  • RequiredAttendees
  • OptionalAttendees
  • Resources
  • NetMeetingOrganizerAlias

Properties | Actions Property | AllDayEvent Property | Application Property | Attachments Property | AutoResolvedWinner Property | BillingInformation Property | Body Property | BusyStatus Property | Categories Property | Class Property | Companies Property | ConferenceServerAllowExternal Property | ConferenceServerPassword Property | Conflicts Property | ConversationIndex Property | ConversationTopic Property | CreationTime Property | DownloadState Property | Duration Property | End Property | EntryID Property | FormDescription Property | GetInspector Property | Importance Property | InternetCodepage Property | IsConflict Property | IsOnlineMeeting Property | IsRecurring Property | ItemProperties Property | LastModificationTime Property | Links Property | Location Property | MarkForDownload Property | MeetingStatus Property | MeetingWorkspaceURL Property | MessageClass Property | Mileage Property | NetMeetingAutoStart Property | NetMeetingDocPathName Property | NetMeetingOrganizerAlias Property | NetMeetingServer Property | NetMeetingType Property | NetShowURL Property | NoAging Property | OptionalAttendees Property | Organizer Property | OutlookInternalVersion Property | OutlookVersion Property | Parent Property | Recipients Property | RecurrenceState Property | ReminderMinutesBeforeStart Property | ReminderOverrideDefault Property | ReminderPlaySound Property | ReminderSet Property | ReminderSoundFile Property | ReplyTime Property | RequiredAttendees Property | Resources Property | ResponseRequested Property | ResponseStatus Property | Saved Property | Sensitivity Property | Session Property | Size Property | Start Property | Subject Property | UnRead Property | UserProperties Property

Methods | ClearRecurrencePattern Method | Close Method | Copy Method | Delete Method | Display Method | ForwardAsVcal Method | GetRecurrencePattern Method | Move Method | PrintOut Method | Respond Method | Save Method | SaveAs Method | Send Method | ShowCategoriesDialog Method

Events | AttachmentAdd Event | AttachmentRead Event | BeforeAttachmentSave Event | BeforeCheckNames Event | BeforeDelete Event | Close Event | CustomAction Event | CustomPropertyChange Event | Forward Event | Open Event | PropertyChange Event | Read Event | Reply Event | ReplyAll Event | Send Event | Write Event

Parent Objects | Exception Object

Child Objects | Actions Object | Attachments Object | Conflicts Object | FormDescription Object | ItemProperties Object | Links Object | Recipients Object | UserProperties Object