XDocumentExtensions.ToXPathNavigable(XNode) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個存取器,允許你瀏覽並編輯指定的 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 器的介面。