XdmWriter.WriteStartDocument Method (bool)XdmWriter.WriteStartDocument Method (Boolean)XdmWriter::WriteStartDocument Method (bool)
Writes the XML declaration with the version "1.0" and the standalone attribute.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Parameters
- standalone
Type: System.BooleanSystem.BooleanSystem::Boolean
If true, it writes "standalone=yes"; if false, it writes "standalone=no".
Exceptions
Exception | Condition |
InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException | This is not the first write method called after the constructor. |