OpenXmlPartWriter-Konstruktor (OpenXmlPart, Encoding)
Initializes a new instance of the OpenXmlPartWriter.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Sub New ( _
openXmlPart As OpenXmlPart, _
encoding As Encoding _
)
'Usage
Dim openXmlPart As OpenXmlPart
Dim encoding As Encoding
Dim instance As New OpenXmlPartWriter(openXmlPart, _
encoding)
public OpenXmlPartWriter(
OpenXmlPart openXmlPart,
Encoding encoding
)
Parameter
- openXmlPart
Typ: DocumentFormat.OpenXml.Packaging.OpenXmlPart
The OpenXmlPart to be written to.
- encoding
Typ: System.Text.Encoding
The encoding for the XML stream.