_CustomXMLPart.SelectSingleNode(String) 方法

定义

选择自定义 XML 部件内与 XPath 表达式匹配的单个节点。

public:
 Microsoft::Office::Core::CustomXMLNode ^ SelectSingleNode(System::String ^ XPath);
public Microsoft.Office.Core.CustomXMLNode SelectSingleNode (string XPath);
abstract member SelectSingleNode : string -> Microsoft.Office.Core.CustomXMLNode
Public Function SelectSingleNode (XPath As String) As CustomXMLNode

参数

XPath
String

包含一个 XPath 表达式。

返回

CustomXMLNodes

适用于