XDocumentExtensions.ToXPathNavigable(XNode) 方法

定义

返回一个访问器,该访问器可用于导航和编辑指定的 XNode

public:
[System::Runtime::CompilerServices::Extension]
 static System::Xml::XPath::IXPathNavigable ^ ToXPathNavigable(System::Xml::Linq::XNode ^ node);
public static System.Xml.XPath.IXPathNavigable ToXPathNavigable (this System.Xml.Linq.XNode node);
static member ToXPathNavigable : System.Xml.Linq.XNode -> System.Xml.XPath.IXPathNavigable
<Extension()>
Public Function ToXPathNavigable (node As XNode) As IXPathNavigable

参数

node
XNode

要导航的 XML 节点。

返回

一个接口,提供 XPathNavigator 类的访问器。

适用于