Table of contents
TOC
折叠目录
展开目录

DocumentProperties.Parent 属性 (办公室)DocumentProperties.Parent Property (Office)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取对象的DocumentProperties对象。只读的。Gets the Parent object for the DocumentProperties object. Read-only.

语法Syntax

表达式父级expression. Parent

表达式_一个表示DocumentProperties对象的变量。_expression A variable that represents a DocumentProperties object.

返回值Return Value

对象Object

示例Example

本示例显示一个文档属性的父对象的名称。必须将有效的DocumentProperty对象传递给过程。This example displays the name of the parent object for a document property. You must pass a valid DocumentProperty object to the procedure.

Sub DisplayParent(dp as DocumentProperty) 
 MsgBox dp.Parent.Name 
End Sub

另请参阅See also

概念Concepts

DocumentProperties 对象DocumentProperties Object

其他资源Other resources

DocumentProperties 对象成员DocumentProperties Object Members

© 2018 Microsoft