共用方式為


MeetingItem Object

MeetingItem
Multiple objects

Represents an item in an Inbox (mail) folder. A MeetingItem object represents a change to the recipient's Calendar folder initiated by another party or as a result of a group action.

Using the MeetingItem Object

Unlike other Microsoft Outlook objects, you cannot create this object. It is created automatically when you set the MeetingStatus property of an AppointmentItem object to olMeeting and send it to one or more users. They receive it in their inboxes as a MeetingItem.

The following example uses the CreateItem method to create an appointment. It becomes a MeetingItem with both a required and an optional attendee when it is received in the inbox of each of the recipients.

Set myItem = myOlApp.CreateItem(olAppointmentItem)
myItem.MeetingStatus = olMeeting
myItem.Subject = "Strategy Meeting"
myItem.Location = "Conference Room B"
myItem.Start = #9/24/97 1:30:00 PM#
myItem.Duration = 90
Set myRequiredAttendee = myItem.Recipients.Add("Nate _
    Sun")
myRequiredAttendee.Type = olRequired
Set myOptionalAttendee = myItem.Recipients.Add("Kevin _
    Kennedy")
myOptionalAttendee.Type = olOptional
Set myResourceAttendee = _
    myItem.Recipients.Add("Conference Room B")
myResourceAttendee.Type = olResource
myItem.Send

Use the GetAssociatedAppointment method to return the AppointmentItem object associated with a MeetingItem object, and work directly with the AppointmentItem object to respond to the request.

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 MeetingItem object:

  • SenderName
  • ReplyRecipients
  • Body
  • Recipients
  • SenderEmailAddress

Properties | Actions Property | Application Property | Attachments Property | AutoForwarded Property | AutoResolvedWinner Property | BillingInformation Property | Body Property | Categories Property | Class Property | Companies Property | Conflicts Property | ConversationIndex Property | ConversationTopic Property | CreationTime Property | DeferredDeliveryTime Property | DeleteAfterSubmit Property | DownloadState Property | EntryID Property | ExpiryTime Property | FlagDueBy Property | FlagIcon Property | FlagRequest Property | FlagStatus Property | FormDescription Property | GetInspector Property | Importance Property | IsConflict Property | ItemProperties Property | LastModificationTime Property | Links Property | MarkForDownload Property | MeetingWorkspaceURL Property | MessageClass Property | Mileage Property | NoAging Property | OriginatorDeliveryReportRequested Property | OutlookInternalVersion Property | OutlookVersion Property | Parent Property | ReceivedTime Property | Recipients Property | ReminderSet Property | ReminderTime Property | ReplyRecipients Property | Saved Property | SaveSentMessageFolder Property | SenderEmailAddress Property | SenderEmailType Property | SenderName Property | Sensitivity Property | Sent Property | SentOn Property | Session Property | Size Property | Subject Property | Submitted Property | UnRead Property | UserProperties Property

Methods | Close Method | Copy Method | Delete Method | Display Method | Forward Method | GetAssociatedAppointment Method | Move Method | PrintOut Method | Reply Method | ReplyAll 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

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