Share via


Document.CustomDocumentProperties Property

Gets a DocumentProperties collection that represents all the custom document properties for the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property CustomDocumentProperties As Object
Object CustomDocumentProperties { get; }

Property Value

Type: System.Object
A DocumentProperties collection that represents all the custom document properties for the document.

Remarks

Use the BuiltInDocumentProperties property to return the collection of built-in document properties.

Properties of type msoPropertyTypeString cannot exceed 255 characters in length.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace