XmlDocumentXPathExtensions 類別

定義

針對文件導覽為 XmlDocumentXmlNode 提供擴充方法。

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

方法

CreateNavigator(XmlDocument)

建立新的 XPath 導覽器物件以導覽指定的文件。

CreateNavigator(XmlDocument, XmlNode)

建立 XPath 導覽器物件以導覽定位於指定節點上的指定文件。

CreateNavigator(XmlNode)

建立用於導覽指定節點的 XPath 導覽器。

SelectNodes(XmlNode, String)

選取符合指定 XPath 運算式的節點清單。

SelectNodes(XmlNode, String, XmlNamespaceManager)

選取符合指定 XPath 運算式的節點清單。 會使用提供的命名空間管理員解析 XPath 運算式中找到的任何前置詞。

SelectSingleNode(XmlNode, String)

選取符合 XPath 運算式的第一個節點。

SelectSingleNode(XmlNode, String, XmlNamespaceManager)

選取符合 XPath 運算式的第一個節點。 會使用提供的命名空間管理員解析 XPath 運算式中找到的任何前置詞。

ToXPathNavigable(XmlNode)

建立用於產生導覽器的 IXPathNavigable 執行個體。

適用於