[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a DocumentProperties collection that represents all the built-in document properties for the document.
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
If Microsoft Office Word does not define a value for one of the built-in document properties, reading the Value property for that document property throws an exception.
Use the CustomDocumentProperties property to return the collection of custom document properties.
The following code example displays a message that shows the date and time that the document was created. To use this example, run it from the ThisDocument class in a document-level project.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.