This documentation is archived and is not being maintained.

Xml::XPathNavigator Property

Gets or sets a cursor model for navigating and editing the XML data associated with the Xml control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

[BrowsableAttribute(false)]
public:
property XPathNavigator^ XPathNavigator {
	XPathNavigator^ get ();
	void set (XPathNavigator^ value);
}
<asp:Xml XPathNavigator="XPathNavigator" />

Property Value

Type: System.Xml.XPath::XPathNavigator
An XPathNavigator object.

This property can be used to associate an XPathNavigator object with the Xml control.

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, and 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.

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: