System::Xml::XmlTextWriter::WriteStartDocument method

XmlTextWriter::WriteStartDocument() method

Writes the XML declaration with the version “1.0”.

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

See Also

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
ParameterTypeDescription
standaloneboolIf true, it writes “standalone=yes”; if false, it writes “standalone=no”.

See Also