Redigera

Dela via


Xml.XPathNavigator Property

Definition

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

public:
 property System::Xml::XPath::XPathNavigator ^ XPathNavigator { System::Xml::XPath::XPathNavigator ^ get(); void set(System::Xml::XPath::XPathNavigator ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Xml.XPath.XPathNavigator XPathNavigator { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.XPathNavigator : System.Xml.XPath.XPathNavigator with get, set
Public Property XPathNavigator As XPathNavigator

Property Value

An XPathNavigator object.

Attributes

Remarks

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.

Applies to

See also