System::Xml::XmlDocument::Save method

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

Saves the XML document to the specified stream.

virtual void System::Xml::XmlDocument::Save(SharedPtr<IO::Stream> outStream)
ParameterTypeDescription
outStreamSharedPtr<IO::Stream>The stream to which you want to save.

See Also

XmlDocument::Save(SharedPtr<IO::TextWriter>) method

Saves the XML document to the specified TextWriter.

virtual void System::Xml::XmlDocument::Save(SharedPtr<IO::TextWriter> writer)
ParameterTypeDescription
writerSharedPtr<IO::TextWriter>The TextWriter to which you want to save.

See Also

XmlDocument::Save(SharedPtr<XmlWriter>) method

Saves the XML document to the specified XmlWriter.

virtual void System::Xml::XmlDocument::Save(SharedPtr<XmlWriter> w)
ParameterTypeDescription
wSharedPtr<XmlWriter>The XmlWriter to which you want to save.

See Also

XmlDocument::Save(String) method

Saves the XML document to the specified file. If the specified file exists, this method overwrites it.

virtual void System::Xml::XmlDocument::Save(String filename)
ParameterTypeDescription
filenameStringThe location of the file where you want to save the document.

See Also