XPathDocument Class

XPathDocument Class

 

Provides a fast, read-only, in-memory representation of an XML document by using the XPath data model.

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

System.Object
  System.Xml.XPath.XPathDocument

Public Class XPathDocument
	Implements IXPathNavigable

NameDescription
System_CAPS_pubmethodXPathDocument(Stream)

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

System_CAPS_pubmethodXPathDocument(String)

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

System_CAPS_pubmethodXPathDocument(String, XmlSpace)

Initializes a new instance of the XPathDocument class from the XML data in the file specified with the white space handling specified.

System_CAPS_pubmethodXPathDocument(TextReader)

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

System_CAPS_pubmethodXPathDocument(XmlReader)

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

System_CAPS_pubmethodXPathDocument(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.

NameDescription
System_CAPS_pubmethodCreateNavigator()

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

For more information about processing XML data by using the XPath data model, see the Process XML Data Using the XPath Data Model topic.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft