共用方式為


Outlook) (MeetingItem 物件

代表對收件者 [行事曆] 資料夾的變更,此變更是由其他人所起始,或是群組動作所產生的結果。

註解

不同于其他 Microsoft Outlook 物件,您無法建立此物件。 當您將AppointmentItem物件的MeetingStatus屬性設定為olMeeting並將它傳送給一或多個使用者時,就會自動建立此屬性。 使用者會在他們的收件匣中以 MeetingItem 的形式接收。

使用 GetAssociatedAppointment 方法可傳回與 MeetingItem 物件相關聯的 AppointmentItem 物件,並直接使用 AppointmentItem 物件來回應要求。

範例

下列範例會使用 CreateItem 方法來建立約會。 當每位收件者在收件匣中接收到它時,它會成為同時包含出席者及列席者的 MeetingItem

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

事件

名稱
AfterWrite
AttachmentAdd
AttachmentRead
AttachmentRemove
BeforeAttachmentAdd
BeforeAttachmentPreview
BeforeAttachmentRead
BeforeAttachmentSave
BeforeAttachmentWriteToTempFile
BeforeAutoSave
BeforeCheckNames
BeforeDelete
BeforeRead
Close
CustomAction
CustomPropertyChange
Forward
Open
PropertyChange
Read
ReadComplete
Reply
ReplyAll
Send
Unload
Write

方法

名稱
Close
Copy
Delete
Display
Forward
GetAssociatedAppointment
GetConversation
Move
PrintOut
Reply
ReplyAll
Save
SaveAs
Send
ShowCategoriesDialog

屬性

名稱
Actions
Application
Attachments
AutoForwarded
AutoResolvedWinner
BillingInformation
Body
Categories
Class
Companies
Conflicts
ConversationID
ConversationIndex
ConversationTopic
CreationTime
DeferredDeliveryTime
DeleteAfterSubmit
DownloadState
EntryID
ExpiryTime
FormDescription
GetInspector
Importance
IsConflict
IsLatestVersion
ItemProperties
LastModificationTime
MarkForDownload
MeetingWorkspaceURL
MessageClass
Mileage
NoAging
OriginatorDeliveryReportRequested
OutlookInternalVersion
OutlookVersion
Parent
PropertyAccessor
ReceivedTime
Recipients
ReminderSet
ReminderTime
ReplyRecipients
RetentionExpirationDate
RetentionPolicyName
RTFBody
Saved
SaveSentMessageFolder
SenderEmailAddress
SenderEmailType
SenderName
SendUsingAccount
Sensitivity
Sent
SentOn
Session
大小
Subject
Submitted
UnRead
UserProperties

另請參閱

MeetingItem 物件成員Outlook 物件模型參考

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應