WriteStartDocument()

XmlTextWriter::WriteStartDocument() method

Writes the XML declaration with the version "1.0".

void System::Xml::XmlTextWriter::WriteStartDocument() override

XmlTextWriter::WriteStartDocument(bool) method

Writes the XML declaration with the version "1.0" and the standalone attribute.

void System::Xml::XmlTextWriter::WriteStartDocument(bool standalone) override

Arguments

ParameterTypeDescription
standaloneboolIf true, it writes "standalone=yes"; if false, it writes "standalone=no".

See Also