Workbook.CustomDocumentProperties Property
Gets a Microsoft.Office.Core.DocumentProperties collection that represents all the custom document properties for the workbook.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property CustomDocumentProperties As Object
Get
Object CustomDocumentProperties { get; }
Property Value
Type: System.Object
A Microsoft.Office.Core.DocumentProperties collection that represents all the custom document properties for the workbook.
Remarks
This property returns the entire collection of custom document properties. Use the Microsoft.Office.Core.DocumentProperties.Item(System.Object) property to return a single member of the collection (a Microsoft.Office.Core.DocumentProperties object) by specifying either the name of the property or the collection index (as a number).
Use the BuiltinDocumentProperties property to return the collection of built-in document properties.
.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.