Share via


DocumentProperties Interface 

A collection of DocumentProperty objects.

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

Usage

Public Class ocumentPropertiesImplementation
    Implements DocumentProperties
End Class
Dim ocumentPropertiesImplementation1 As New ocumentPropertiesImplementation()

Syntax

Public Interface DocumentProperties
    Inherits IEnumerable
public interface DocumentProperties : IEnumerable
public interface class DocumentProperties : public IEnumerable
public interface DocumentProperties implements IEnumerable
public interface DocumentProperties implements 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

DocumentProperties Members