Extensions Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This class contains the LINQ to XML extension methods that enable you to evaluate XPath expressions.
Inheritance Hierarchy
System.Object
System.Xml.XPath.Extensions
Namespace: System.Xml.XPath
Assembly: System.Xml.XPath (in System.Xml.XPath.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class Extensions
public static class Extensions
Methods
Name | Description | |
---|---|---|
CreateNavigator(XNode) | Creates an XPathNavigator for an XNode. | |
CreateNavigator(XNode, XmlNameTable) | Creates an XPathNavigator for an XNode. The XmlNameTable enables more efficient XPath expression processing. | |
XPathEvaluate(XNode, String) | Evaluates an XPath expression. | |
XPathEvaluate(XNode, String, IXmlNamespaceResolver) | Evaluates an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver. | |
XPathSelectElement(XNode, String) | Selects an XElement using a XPath expression. | |
XPathSelectElement(XNode, String, IXmlNamespaceResolver) | Selects an XElement using a XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver. | |
XPathSelectElements(XNode, String) | Selects a collection of elements using an XPath expression. | |
XPathSelectElements(XNode, String, IXmlNamespaceResolver) | Selects a collection of elements using an XPath expression, resolving namespace prefixes using the specified IXmlNamespaceResolver. |
Top
Version Information
Silverlight
Supported in: 5, 4
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.