XmlDocumentXPathExtensions 類別

定義

提供文件導覽的擴充方法XmlDocumentXmlNode

public ref class XmlDocumentXPathExtensions abstract sealed
public static class XmlDocumentXPathExtensions
type XmlDocumentXPathExtensions = class
Public Module XmlDocumentXPathExtensions
繼承
XmlDocumentXPathExtensions

方法

名稱 Description
CreateNavigator(XmlDocument, XmlNode)

建立一個 XPath 導航器物件,用於導航指定節點上指定的文件。

CreateNavigator(XmlDocument)

建立一個新的 XPath 導航器物件來導航指定文件。

CreateNavigator(XmlNode)

建立一個 XPath 導航器來導航指定節點。

SelectNodes(XmlNode, String, XmlNamespaceManager)

選取與指定 XPath 表達式相符的節點清單。 XPath 表達式中發現的任何前綴,皆可透過提供的命名空間管理器解析。

SelectNodes(XmlNode, String)

選取與指定 XPath 表達式相符的節點清單。

SelectSingleNode(XmlNode, String, XmlNamespaceManager)

選擇第一個與 XPath 表達式相符的節點。 XPath 表達式中發現的任何前綴,皆可透過提供的命名空間管理器解析。

SelectSingleNode(XmlNode, String)

選擇第一個與 XPath 表達式相符的節點。

ToXPathNavigable(XmlNode)

建立 IXPathNavigable 一個用來產生導航員的實例。

適用於