Partager via


_DocumentItem.UserProperties Property

Returns the UserProperties collection that represents all the user properties for the Outlook item. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property UserProperties As UserProperties
    Get
'Usage
Dim instance As _DocumentItem
Dim value As UserProperties

value = instance.UserProperties
[DispIdAttribute()]
UserProperties UserProperties { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.UserProperties

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.

See Also

Reference

_DocumentItem Interface

_DocumentItem Members

Microsoft.Office.Interop.Outlook Namespace