XPathDocument Constructor

Initializes a new instance of the XPathDocument class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method XPathDocument(Stream) Initializes a new instance of the XPathDocument class from the XML data in the specified Stream object.
Public method XPathDocument(String) Initializes a new instance of the XPathDocument class from the XML data in the specified file.
Public method XPathDocument(TextReader) Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified TextReader object.
Public method XPathDocument(XmlReader) Initializes a new instance of the XPathDocument class from the XML data that is contained in the specified XmlReader object.
Public method 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.
Public method 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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft