XmlDocumentXPathExtensions.ToXPathNavigable(XmlNode) 方法

定义

创建 IXPathNavigable 用于生成导航器的实例。Creates an IXPathNavigable instance used for producing navigators.

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

实现应在其中放置新创建的导航器的节点。The node in which the implementation should position newly created navigators.

返回

IXPathNavigable

一个 IXPathNavigable 实例。An IXPathNavigable instance.

适用于