Table of Contents

Method WriteStartDocument

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

WriteStartDocument()

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

public override void WriteStartDocument()

Exceptions

InvalidOperationException

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

InvalidOperationException

An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”

WriteStartDocument(bool)

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

public override void WriteStartDocument(bool standalone)

Parameters

standalone bool

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

Exceptions

InvalidOperationException

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

InvalidOperationException

An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”