Export (0) Print
Expand All
Expand Minimize

Document.BuiltInDocumentProperties Property

Gets a DocumentProperties collection that represents all the built-in 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)

Object BuiltInDocumentProperties { get; }

Property Value

Type: System.Object
A DocumentProperties collection that represents all the built-in document properties for the document.

To return a single DocumentProperty that represents a specific built-in document property, use BuiltInDocumentProperties(index) in Visual Basic or BuiltInDocumentProperties[index] in C#, where index is one of the WdBuiltInProperty values.

If Microsoft Office Word does not define a value for one of the built-in document properties, reading the Value property for that document property throws an exception.

Use the CustomDocumentProperties property to return the collection of custom document properties.

Show:
© 2015 Microsoft