通过


Xml.XPathNavigator 属性

定义

获取或设置用于导航和编辑与 Xml 控件关联的 XML 数据的游标模型。

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

属性值

一个 XPathNavigator 对象。

属性

注解

此属性可用于将 XPathNavigator 对象与 Xml 控件相关联。

对象 XPathNavigator 是从实现 IXPathNavigable 接口的类(如 XPathDocumentXmlDocument 类)创建的。 XPathNavigator 对象 XPathDocument 创建的对象是只读的, XPathNavigator 对象创建 XmlDocument 的对象可以编辑。 XPathNavigator对象的只读或可编辑状态是使用CanEdit类的属性确定的XPathNavigator

适用于

另请参阅