Provides a cursor model for navigating and editing XML data.
Namespace: System.Xml.XPath
Assembly: System.Xml (in system.xml.dll)
Visual Basic (Declaration)
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
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.
Security Note |
|---|
| 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. |
Notes to Inheritors
When you inherit from the XPathNavigator class, you must override the following members:
System.Object
System.Xml.XPath.XPathItem
System.Xml.XPath.XPathNavigator
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
.NET Framework
Supported in: 2.0, 1.1, 1.0