Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Extensions::XPathEvaluate Method

 

Evaluates an XPath expression.

Namespace:   System.Xml.XPath
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticXPathEvaluate(XNode^, String^)

Evaluates an XPath expression.

System_CAPS_pubmethodSystem_CAPS_staticXPathEvaluate(XNode^, String^, IXmlNamespaceResolver^)

Evaluates an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver.

Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order.

Note that nodes are returned in document order even when you use a reverse axis, such as preceding-sibling or ancestor-or-self.

Return to top
Show:
© 2017 Microsoft