_DocumentItem.UserProperties Property

Definition

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.

Applies to