DocumentProperty 对象 (Office)

代表容器文档的一个自定义或内置文档属性。 DocumentProperty 对象是 DocumentProperties 集合的成员。

备注

使用 Microsoft Word Document.BuiltinDocumentProperties (index) 属性(其中 index 是内置文档属性的名称或索引号)返回表示特定内置文档属性的单个 DocumentProperty 对象。

使用 Word Document.CustomDocumentProperties (index) 属性(其中 index 是自定义文档属性的名称或索引号)返回一个代表特定自定义文档属性的 DocumentProperty 对象。

注意

msoPropertyTypeString (MsoDocProperties) 类型的属性长度限制为 255 个字符。

另请参阅

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。