共用方式為


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 類別提供存取子。

適用於