代表由其他方启动或由于组操作导致的对收件人的“日历”文件夹的更改。
备注
与其他 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
事件
方法
| 名称 |
|---|
| Close |
| Copy |
| 删除 |
| Display |
| 转发 |
| GetAssociatedAppointment |
| GetConversation |
| Move |
| PrintOut |
| Reply |
| ReplyAll |
| Save |
| SaveAs |
| Send |
| ShowCategoriesDialog |
属性
另请参阅
MeetingItem 对象成员Outlook 对象模型参考
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。