IXmlNodeSelector.SelectSingleNode(String) IXmlNodeSelector.SelectSingleNode(String) IXmlNodeSelector.SelectSingleNode(String) IXmlNodeSelector.SelectSingleNode(String) IXmlNodeSelector.SelectSingleNode(String) Method

Definition

Applies the specified pattern-matching operation to this node's context and returns the first matching node.

public : IXmlNode SelectSingleNode(Platform::String xpath)
IXmlNode SelectSingleNode(winrt::hstring xpath) const;
public IXmlNode SelectSingleNode(String xpath)
Public Function SelectSingleNode(xpath As String) As IXmlNode
var iXmlNode = iXmlNodeSelector.selectSingleNode(xpath);
Parameters
xpath
String String String

Specifies an XPath expression.

Returns

The first node that matches the given pattern-matching operation. If no nodes match the expression, the method returns a null value.