CustomXMLNode.SelectSingleNode(String) Method

Definition

Selects a single node from a collection matching an XPath expression. This method differs from the SelectSingleNode(String) method in that the XPath expression will be evaluated starting with the 'expression' node as the context node.

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

Parameters

XPath
String

Contains an XPath expression.

Returns

CustomXMLNode

Applies to