DocumentProperties Interface

A collection of DocumentProperty objects.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
<GuidAttribute("2DF8D04D-5BFA-101B-BDE5-00AA0044DE52")> _
Public Interface DocumentProperties _
    Inherits IEnumerable
'Usage
Dim instance As DocumentProperties
[GuidAttribute("2DF8D04D-5BFA-101B-BDE5-00AA0044DE52")]
public interface DocumentProperties : IEnumerable

Remarks

Each DocumentProperty object represents a built-in or custom property of a container document.

Use the Add method to create a new custom property and add it to the DocumentProperties collection. You cannot use the Add method to create a built-in document property.

Use BuiltinDocumentProperties(index), where index is the index number of the built-in document property, to return a single DocumentProperty object that represents a specific built-in document property. Use CustomDocumentProperties(index), where index is the number of the custom document property, to return a DocumentProperty object that represents a specific custom document property.

See Also

Reference

DocumentProperties Members

Microsoft.Office.Core Namespace