代表有关 Microsoft Outlook 项目对象的给定项目属性的信息。
备注
每个 item 属性定义的项,如名称、 类型或值的项的某些特性。 ItemProperty 对象是 ItemProperties 集合的一个成员。
使用 ItemProperties.Item (索引) ,其中 index 是对象在集合中的数值位置,或者返回单个 ItemProperty 对象的名称。
示例
下面的示例创建 ItemProperties 集合中的第一个 ItemProperty 对象的引用。
Sub NewMail()
'Creates a new MailItem and references the ItemProperties collection.
Dim objMail As MailItem
Dim objitems As ItemProperties
Dim objitem As ItemProperty
'Create a new mail item
Set objMail = Application.CreateItem(olMailItem)
'Create a reference to the ItemProperties collection
Set objitems = objMail.ItemProperties
'Create reference to the first object in the collection
Set objitem = objitems.item(0)
End Sub
属性
名称 |
---|
Application |
类 |
IsUserProperty |
名称 |
Parent |
Session |
类型 |
值 |
另请参阅
Outlook 对象模型引用ItemProperty 对象成员
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。