XPathDocument()

XPathDocument::XPathDocument(const SharedPtr<XmlReader>&) constructor

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

System::Xml::XPath::XPathDocument::XPathDocument(const SharedPtr<XmlReader> &reader)

Arguments

ParameterTypeDescription
readerconst SharedPtr<XmlReader>&The XmlReader object that contains the XML data.

XPathDocument::XPathDocument(const SharedPtr<XmlReader>&, XmlSpace) constructor

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.

System::Xml::XPath::XPathDocument::XPathDocument(const SharedPtr<XmlReader> &reader, XmlSpace space)

Arguments

ParameterTypeDescription
readerconst SharedPtr<XmlReader>&The XmlReader object that contains the XML data.
spaceXmlSpaceAn XmlSpace object.

XPathDocument::XPathDocument(const SharedPtr<IO::TextReader>&) constructor

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

System::Xml::XPath::XPathDocument::XPathDocument(const SharedPtr<IO::TextReader> &textReader)

Arguments

ParameterTypeDescription
textReaderconst SharedPtr<IO::TextReader>&The TextReader object that contains the XML data.

XPathDocument::XPathDocument(const SharedPtr<IO::Stream>&) constructor

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

System::Xml::XPath::XPathDocument::XPathDocument(const SharedPtr<IO::Stream> &stream)

Arguments

ParameterTypeDescription
streamconst SharedPtr<IO::Stream>&The Stream object that contains the XML data.

XPathDocument::XPathDocument(const String&) constructor

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

System::Xml::XPath::XPathDocument::XPathDocument(const String &uri)

Arguments

ParameterTypeDescription
uriconst String&The path of the file that contains the XML data.

XPathDocument::XPathDocument(const String&, XmlSpace) constructor

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

System::Xml::XPath::XPathDocument::XPathDocument(const String &uri, XmlSpace space)

Arguments

ParameterTypeDescription
uriconst String&The path of the file that contains the XML data.
spaceXmlSpaceAn XmlSpace object.

See Also