XDocumentExtensions.ToXPathNavigable(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.