Document.CustomDocumentProperties Property
Gets a DocumentProperties collection that represents all the custom document properties for the document.
Namespace: Microsoft.Office.Tools.Word
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.