XPathDocument XPathDocument XPathDocument 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
XPathDocumentXPathDocumentXPathDocumentXPathDocument
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) XPathDocument(Stream) XPathDocument(Stream) XPathDocument(Stream)

Initializes a new instance of the XPathDocument class from the XML data in the specified Stream object.

XPathDocument(String) XPathDocument(String) XPathDocument(String) XPathDocument(String)

Initializes a new instance of the XPathDocument class from the XML data in the specified file.

XPathDocument(String, XmlSpace) XPathDocument(String, XmlSpace) XPathDocument(String, XmlSpace) 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(TextReader) XPathDocument(TextReader) XPathDocument(TextReader) XPathDocument(TextReader)

Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified TextReader object.

XPathDocument(XmlReader) XPathDocument(XmlReader) XPathDocument(XmlReader) XPathDocument(XmlReader)

Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified XmlReader object.

XPathDocument(XmlReader, XmlSpace) XPathDocument(XmlReader, XmlSpace) XPathDocument(XmlReader, XmlSpace) 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.

Methods

CreateNavigator() CreateNavigator() CreateNavigator() CreateNavigator()

Initializes a read-only XPathNavigator object for navigating through nodes in this XPathDocument.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also