次の方法で共有


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

'宣言
Public MustOverride Sub WriteStartDocument ( _
    standalone As Boolean _
)
'使用
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".

See Also

Reference

OpenXmlWriter Class

OpenXmlWriter Members

WriteStartDocument Overload

DocumentFormat.OpenXml Namespace