DocumentProperty members (Office)

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

Methods

Name Description
Delete Removes a custom document property.

Properties

Name Description
Application Gets an Application object that represents the container application for the DocumentProperty object (you can use this property with an Automation object to return that object's container application). Read-only.
Creator Gets a 32-bit integer that indicates the application in which the DocumentProperty object was created. Read-only.
LinkSource Gets or sets the source of a linked custom document property. Read/write.
LinkToContent Is True if the value of the custom document property is linked to the content of the container document. False if the value is static. Read/write.
Name Gets or sets the name of a document property. Read/write.
Parent Gets the Parent object for the DocumentProperty object. Read-only.
Type Gets or sets the document property type. Read-only for built-in document properties; read/write for custom document properties.
Value Gets or sets the value of a document property. Read/write.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.