Bewerken

Delen via


XPathDocument Class

Definition

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

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

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