OpenXmlWriter.Create-Methode (Stream, Encoding)
Create an OpenXmlWriter on given stream
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Function Create ( _
partStream As Stream, _
encoding As Encoding _
) As OpenXmlWriter
'Usage
Dim partStream As Stream
Dim encoding As Encoding
Dim returnValue As OpenXmlWriter
returnValue = OpenXmlWriter.Create(partStream, _
encoding)
public static OpenXmlWriter Create(
Stream partStream,
Encoding encoding
)
Parameter
- partStream
Typ: System.IO.Stream
the target stream
- encoding
Typ: System.Text.Encoding
The encoding for the XML stream.
Rückgabewert
Typ: DocumentFormat.OpenXml.OpenXmlWriter
The created OpenXmlWriter instance.