语法
表达式.ParentNode
表达式 一个返回 XMLNode 对象的表达式。
示例
以下示例访问活动文档中选定文本的 XML 父节点。
let objNode = Selection.XMLParentNode.ParentNode