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.

Syntax

Public Overrides Sub WriteStartDocument( _
    standalone As Boolean _
)
public override void WriteStartDocument(
    bool standalone
)
public:
virtual void WriteStartDocument(
    bool standalone
) override
 

Parameters

standalone

Type: System.BooleanSystem.BooleanSystem::Boolean

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

Exceptions

ExceptionCondition
InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException This is not the first write method called after the constructor.