Export (0) Print
Expand All

Extensions Class

This class contains the LINQ to XML extension methods that enable you to evaluate XPath expressions.

System.Object
  System.Xml.XPath.Extensions

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

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class Extensions

  NameDescription
Public methodStatic memberCreateNavigator(XNode)Creates an XPathNavigator for an XNode.
Public methodStatic memberCreateNavigator(XNode, XmlNameTable)Creates an XPathNavigator for an XNode. The XmlNameTable enables more efficient XPath expression processing.
Public methodStatic memberXPathEvaluate(XNode, String)Evaluates an XPath expression.
Public methodStatic memberXPathEvaluate(XNode, String, IXmlNamespaceResolver)Evaluates an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver.
Public methodStatic memberXPathSelectElement(XNode, String)Selects an XElement using a XPath expression.
Public methodStatic memberXPathSelectElement(XNode, String, IXmlNamespaceResolver)Selects an XElement using a XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver.
Public methodStatic memberXPathSelectElements(XNode, String)Selects a collection of elements using an XPath expression.
Public methodStatic memberXPathSelectElements(XNode, String, IXmlNamespaceResolver)Selects a collection of elements using an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver.
Top

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft