Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
XPathDocument Class
Definition
- Namespace:
- System.Xml.XPath
- Assemblies:
- netstandard.dll, System.Xml.XPath.dll
- Assembly:
- System.Xml.XPath.dll
- Assembly:
- System.Xml.dll
- Assembly:
- netstandard.dll
- Source:
- XPathDocument.cs
- Source:
- XPathDocument.cs
- Source:
- XPathDocument.cs
- Source:
- XPathDocument.cs
- Source:
- XPathDocument.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a fast, read-only, in-memory representation of an XML document by using the XPath data model.
public ref class XPathDocument : System::Xml::XPath::IXPathNavigable
public class XPathDocument : System.Xml.XPath.IXPathNavigable
type XPathDocument = class
interface IXPathNavigable
Public Class XPathDocument
Implements IXPathNavigable
- Inheritance
-
XPathDocument
- Implements
Remarks
For more information about processing XML data by using the XPath data model, see the Process XML Data Using the XPath Data Model topic.
Constructors
| Name | Description |
|---|---|
| XPathDocument(Stream) |
Initializes a new instance of the XPathDocument class from the XML data in the specified Stream object. |
| XPathDocument(String, XmlSpace) |
Initializes a new instance of the XPathDocument class from the XML data in the file specified with the white space handling specified. |
| XPathDocument(String) |
Initializes a new instance of the XPathDocument class from the XML data in the specified file. |
| XPathDocument(TextReader) |
Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified TextReader object. |
| XPathDocument(XmlReader, XmlSpace) |
Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified XmlReader object with the specified white space handling. |
| XPathDocument(XmlReader) |
Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified XmlReader object. |
Methods
| Name | Description |
|---|---|
| CreateNavigator() |
Initializes a read-only XPathNavigator object for navigating through nodes in this XPathDocument. |
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
See also
Feedback
Was this page helpful?
