MailItem.ItemProperties Property (Outlook)
Published: July 16, 2012
Returns an ItemProperties collection that represents all standard and user-defined properties associated with the Outlook item. Read-only.
The following Microsoft Visual Basic for Applications (VBA) example returns the ItemProperties collection associated with a MailItem object.
Sub ItemProperty() 'Creates a new e-mail item and accesses its properties. Dim objMail As Outlook.MailItem Dim objItems As Outlook.ItemProperties Dim objItem As Outlook.ItemProperty 'Create the e-mail item. Set objMail = Application.CreateItem(olMailItem) 'Create a reference to the e-mail item's properties collection. Set objItems = objMail.ItemProperties 'Create a reference to the third e-mail item property. Set objItem = objItems.Item(2) MsgBox objItem.Name & " = " & objItem.Value End Sub