OpenXmlPartWriter.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
'宣言
Public Overrides Sub WriteStartDocument ( _
standalone As Boolean _
)
'使用
Dim instance As OpenXmlPartWriter
Dim standalone As Boolean
instance.WriteStartDocument(standalone)
public override void WriteStartDocument(
bool standalone
)
Parameters
- standalone
Type: System.Boolean
If true, it writes "standalone=yes"; if false, it writes "standalone=no".