XPathNavigator.Evaluate Method (String, IXmlNamespaceResolver)
Silverlight
Evaluates the specified XPath expression and returns the typed result, using the IXmlNamespaceResolver object specified to resolve namespace prefixes in the XPath expression.
Namespace: System.Xml.XPath
Assembly: System.Xml.XPath (in System.Xml.XPath.dll)
Parameters
- xpath
- Type: System.String
A string representing an XPath expression that can be evaluated.
- resolver
- Type: System.Xml.IXmlNamespaceResolver
The IXmlNamespaceResolver object used to resolve namespace prefixes in the XPath expression.
Return Value
Type: System.ObjectThe result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.