OpenXmlWriter.WriteStartDocument Method (Boolean)
Writes the XML declaration with the version "1.0" and the standalone attribute.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public MustOverride Sub WriteStartDocument ( _
standalone As Boolean _
)
'Usage
Dim instance As OpenXmlWriter
Dim standalone As Boolean
instance.WriteStartDocument(standalone)
public abstract void WriteStartDocument(
bool standalone
)
Parameters
- standalone
Type: System.Boolean
If true, it writes "standalone=yes"; if false, it writes "standalone=no".