Writes the XML declaration with the version "1.0" and the standalone attribute.
- standalone
- A bool where true indicates to write "standalone= yes"; false indicates to write "standalone=no".
Type Reason InvalidOperationException The XmlWriter.WriteState is not WriteState.Start.
Note:Character encoding is set when the class in instantiated.
Operation
As described above.Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0