Поделиться через


System.Xml.XPath Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The System.Xml.XPath namespace contains the classes that define a cursor model for navigating and editing XML information.

Classes

  Class Description
Public class Extensions This class contains the LINQ to XML extension methods that enable you to evaluate XPath expressions.
Public class XPathException Provides the exception thrown when an error occurs while processing an XPath expression.
Public class XPathExpression Provides a typed class that represents a compiled XPath expression.
Public class XPathItem Represents an item in the XQuery 1.0 and XPath 2.0 Data Model.
Public class XPathNavigator Provides a cursor model for navigating and editing XML data.
Public class XPathNodeIterator Provides an iterator over a selected set of nodes.

Interfaces

  Interface Description
Public interface IXPathNavigable Provides an accessor to the XPathNavigator class.

Enumerations

  Enumeration Description
Public enumeration XmlCaseOrder Specifies the sort order for uppercase and lowercase letters.
Public enumeration XmlDataType Specifies the data type used to determine sort order.
Public enumeration XmlSortOrder Specifies the sort order.
Public enumeration XPathNamespaceScope Defines the namespace scope.
Public enumeration XPathNodeType Defines the XPath node types that can be returned from the XPathNavigator class.
Public enumeration XPathResultType Specifies the return type of the XPath expression.