Freigeben über


OpenXmlPartWriter.WriteStartDocument-Methode (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 Overrides Sub WriteStartDocument ( _
    standalone As Boolean _
)
'Usage
Dim instance As OpenXmlPartWriter
Dim standalone As Boolean

instance.WriteStartDocument(standalone)
public override void WriteStartDocument(
    bool standalone
)

Parameter

  • standalone
    Typ: System.Boolean
    If true, it writes "standalone=yes"; if false, it writes "standalone=no".

Siehe auch

Referenz

OpenXmlPartWriter Klasse

OpenXmlPartWriter-Member

WriteStartDocument Überladung

DocumentFormat.OpenXml-Namespace