XPathNavigator.SelectSingleNode Method (String, IXmlNamespaceResolver)
Silverlight
Selects a single node in the XPathNavigator object using the specified XPath query with the IXmlNamespaceResolver object specified to resolve namespace prefixes.
Namespace: System.Xml.XPath
Assembly: System.Xml.XPath (in System.Xml.XPath.dll)
Parameters
- xpath
- Type: System.String
A String representing an XPath expression.
- resolver
- Type: System.Xml.IXmlNamespaceResolver
The IXmlNamespaceResolver object used to resolve namespace prefixes in the XPath query.
Return Value
Type: System.Xml.XPath.XPathNavigatorAn XPathNavigator object that contains the first matching node for the XPath query specified; otherwise null if there are no query results.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.