Writes the XML declaration if the writer is positioned at the start of an XML document.
The protected members of System.Xml.Serialization.XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.