DocumentProperty Interface
Represents a custom or built-in document property of a container document.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
<GuidAttribute("2DF8D04E-5BFA-101B-BDE5-00AA0044DE52")> _
Public Interface DocumentProperty
'Usage
Dim instance As DocumentProperty
[GuidAttribute("2DF8D04E-5BFA-101B-BDE5-00AA0044DE52")]
public interface DocumentProperty
Remarks
The DocumentProperty object is a member of the DocumentProperties collection.
Use BuiltinDocumentProperties(index), 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 CustomDocumentProperties(index), 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:
Title
Subject
Author
Keywords
Comments
Template
Last Author
Revision Number
Application Name
Last Print Date
Creation Date
Last Save Time
Total Editing Time
Number of Pages
Number of Words
Number of Characters
Security
Category
Format
Manager
Company
Number of Bytes
Number of Lines
Number of Paragraphs
Number of Slides
Number of Notes
Number of Hidden Slides
Number of Multimedia Clips
Container applications don't necessarily define a value for every built-in document property. If a given application doesn't define a value for one of the built-in document properties, returning the Value property for that document property causes an error.