WriteStartDocument()

XmlWriter::WriteStartDocument() method

When overridden in a derived class, writes the XML declaration with the version "1.0".

virtual void System::Xml::XmlWriter::WriteStartDocument()=0

XmlWriter::WriteStartDocument(bool) method

When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute.

virtual void System::Xml::XmlWriter::WriteStartDocument(bool standalone)=0

Arguments

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

See Also