Selects a single node in the System.Xml.XPath.XPathNavigator using the specified System.Xml.XPath.XPathExpression object.
- expression
- An System.Xml.XPath.XPathExpression object containing the compiled XPath query.
An System.Xml.XPath.XPathNavigator object that contains the first matching node for the XPath query specified; otherwise null if there are no query results.
The XPathNavigator.SelectSingleNode(XPathExpression) method selects the first node that matches the compiled XPath query contained in the System.Xml.XPath.XPathExpression object in the System.Xml.XPath.XPathNavigator.