_DocumentItem.UserProperties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the UserProperties collection that represents all the user properties for the Outlook item. Read-only.
public:
property Microsoft::Office::Interop::Outlook::UserProperties ^ UserProperties { Microsoft::Office::Interop::Outlook::UserProperties ^ get(); };
public Microsoft.Office.Interop.Outlook.UserProperties UserProperties { get; }
Public ReadOnly Property UserProperties As UserProperties
Property Value
Remarks
Even though olWordDocumentItem is a valid constant in the OlItemType enumeration, user-defined fields cannot to be added to a DocumentItem object and you will receive an error when you try to programmatically add a user-defined field to a DocumentItem object.