ItemProperties Object
Outlook Developer Reference |
A collection of all properties associated with the item.
Remarks
Use the ItemProperties property to return the ItemProperties collection. Use ItemProperties.Item(
index
), where
index
is the name of the object or the numeric position of the item within the collection, to return a single ItemProperty object.
Note |
---|
The ItemProperties collection is zero-based, meaning that the first item in the collection is referenced by 0. |
Use the Add method to add a new item property to the ItemProperties collection. Use the Remove method to remove an item property from the ItemProperties collection.
Note |
---|
You can only add or remove custom properties. Custom properties are denoted by the IsUserProperty. |
Example
The following example creates a new MailItem object and stores its ItemProperties collection in a variable called objItems
.
Visual Basic for Applications |
---|
|
See Also