Partager via


DocumentProperty Object (Office)

Represents a custom or built-in document property of a container document. The DocumentProperty object is a member of the DocumentProperties collection.

Remarks

Use the Microsoft Word Document.BuiltinDocumentProperties(index) property, where index is the name or index number of the built-in document property, to return a single DocumentProperty object that represents a specific built-in document property. Use the Microsoft Word Document.CustomDocumentProperties(index) property, where index is the name or index number of the custom document property, to return a DocumentProperty object that represents a specific custom document property. The following list contains the names of all the available built-in document properties:

Note

Properties of type msoPropertyTypeString are limited in length to 255 characters.

See Also

Concepts

DocumentProperty Object Members

Object Model Reference