संपादित करें

इसके माध्यम से साझा किया गया


XmlDocumentXPathExtensions Class

Definition

Provides extension methods for the XmlDocument and XmlNode for document navigation.

public ref class XmlDocumentXPathExtensions abstract sealed
public static class XmlDocumentXPathExtensions
type XmlDocumentXPathExtensions = class
Public Module XmlDocumentXPathExtensions
Inheritance
XmlDocumentXPathExtensions

Methods

CreateNavigator(XmlDocument, XmlNode)

Creates an XPath navigator object for navigating the specified document positioned on the specified node.

CreateNavigator(XmlDocument)

Creates a new XPath navigator object for navigating the specified document.

CreateNavigator(XmlNode)

Creates an XPath navigator for navigating the specified node.

SelectNodes(XmlNode, String, XmlNamespaceManager)

Selects a list of nodes matching the specified XPath expression. Any prefixes found in the XPath expression are resolved using the supplied namespace manager.

SelectNodes(XmlNode, String)

Selects a list of nodes matching the specified XPath expression.

SelectSingleNode(XmlNode, String, XmlNamespaceManager)

Selects the first node that matches the XPath expression. Any prefixes found in the XPath expression are resolved using the supplied namespace manager.

SelectSingleNode(XmlNode, String)

Selects the first node that matches the XPath expression.

ToXPathNavigable(XmlNode)

Creates an IXPathNavigable instance used for producing navigators.

Applies to