XmlDocumentXPathExtensions.ToXPathNavigable(XmlNode) 方法

定义

创建用于生成导航器的 IXPathNavigable 实例。

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

参数

node
XmlNode

实现应将新建的导航器定位到的节点。

返回

IXPathNavigable

一个 IXPathNavigable 实例。

适用于