System::Xml::XmlDocument::Load method

XmlDocument::Load(String) method

Loads the XML document from the specified URL.

virtual void System::Xml::XmlDocument::Load(String filename)
ParameterTypeDescription
filenameStringURL for the file containing the XML document to load. The URL can be either a local file or an HTTP URL (a Web address).

See Also

XmlDocument::Load(SharedPtr<IO::Stream>) method

Loads the XML document from the specified stream.

virtual void System::Xml::XmlDocument::Load(SharedPtr<IO::Stream> inStream)
ParameterTypeDescription
inStreamSharedPtr<IO::Stream>The stream containing the XML document to load.

See Also

XmlDocument::Load(SharedPtr<IO::TextReader>) method

Loads the XML document from the specified TextReader.

virtual void System::Xml::XmlDocument::Load(SharedPtr<IO::TextReader> txtReader)
ParameterTypeDescription
txtReaderSharedPtr<IO::TextReader>The TextReader used to feed the XML data into the document.

See Also

XmlDocument::Load(SharedPtr<XmlReader>) method

Loads the XML document from the specified XmlReader.

virtual void System::Xml::XmlDocument::Load(SharedPtr<XmlReader> reader)
ParameterTypeDescription
readerSharedPtr<XmlReader>The XmlReader used to feed the XML data into the document.

See Also