Template.BuiltInDocumentProperties Property

Returns a DocumentProperties collection that represents all the built-in document properties for the specified document.

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

Syntax

'Declaration
ReadOnly Property BuiltInDocumentProperties As Object
    Get
'Usage
Dim instance As Template
Dim value As Object

value = instance.BuiltInDocumentProperties
Object BuiltInDocumentProperties { get; }

Property Value

Type: System.Object

Remarks

To return a single DocumentProperty object that represents a specific built-in document property, use BuiltinDocumentProperties(index), where index is a WdBuiltInProperty constant.

If Microsoft Word doesn't define a value for one of the built-in document properties, reading the Value property for that document property generates an error.

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

See Also

Reference

Template Interface

Template Members

Microsoft.Office.Interop.Word Namespace