Provides a cursor model for navigating and editing XML data.
Public MustInherit Class XPathNavigator _ Inherits XPathItem _ Implements ICloneable, IXPathNavigable, IXmlNamespaceResolver
Dim instance As XPathNavigator
public abstract class XPathNavigator : XPathItem, ICloneable, IXPathNavigable, IXmlNamespaceResolver
public ref class XPathNavigator abstract : public XPathItem, ICloneable, IXPathNavigable, IXmlNamespaceResolver
public abstract class XPathNavigator extends XPathItem implements ICloneable, IXPathNavigable, IXmlNamespaceResolver
The XPathNavigator class in the System.Xml.XPath namespace is an abstract class which defines a cursor model for navigating and editing XML information items as instances of the XQuery 1.0 and XPath 2.0 Data Model.
An XPathNavigator object is created from a class that implements the IXPathNavigable interface such as the XPathDocument and XmlDocument classes. XPathNavigator objects created by XPathDocument objects are read-only while XPathNavigator objects created by XmlDocument objects can be edited. An XPathNavigator object's read-only or editable status is determined using the CanEdit property of the XPathNavigator class.
For more information about processing XML data using the XPath data model, see the Process XML Data Using the XPath Data Model topic.
Exceptions raised as a result of using the XPathNavigator class, such as the XPathException class, may contain sensitive information that should not be exposed in untrusted scenarios. Exceptions should be properly handled so that this sensitive information is not exposed in untrusted scenarios.
When you inherit from the XPathNavigator class, you must override the following members:
NameTable
Clone
NodeType
LocalName
Name
NamespaceURI
Prefix
BaseURI
IsEmptyElement
MoveToFirstAttribute
MoveToNextAttribute
MoveToFirstNamespace
MoveToNextNamespace
MoveToNext
MoveToPrevious
MoveToFirstChild
MoveToParent
MoveTo
MoveToId
IsSamePosition
Value
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98