XDocumentExtensions.ToXPathNavigable(XNode) 方法

定義

傳回存取子,讓您巡覽及編輯指定的 XNodeReturns an accessor that allows you to navigate and edit the specified 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 節點。The XML node to navigate.

傳回

介面,向 XPathNavigator 類別提供存取子。An interface that provides an accessor to the XPathNavigator class.

適用於