_Workbook.CustomDocumentProperties Property

Returns or sets a DocumentProperties collection that represents all the custom document properties for the specified workbook.

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

Syntax

'Declaration
ReadOnly Property CustomDocumentProperties As Object
    Get
'Usage
Dim instance As _Workbook
Dim value As Object

value = instance.CustomDocumentProperties
Object CustomDocumentProperties { get; }

Property Value

Type: System.Object

Remarks

This property returns the entire collection of custom document properties. Use the Item method to return a single member of the collection (a DocumentProperty object) by specifying either the name of the property or the collection index (as a number).

The Item method is the default method for the DocumentProperties collection.

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

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace