Partager via


OpenXmlWriter.Create Méthode

Définition

Surcharges

Create(OpenXmlPart)

Créez un OpenXmlWriter à partir d’OpenXmlPart.

Create(Stream)

Créez un OpenXmlWriter sur un flux donné.

Create(OpenXmlPart, Encoding)

Créez un OpenXmlWriter à partir d’OpenXmlPart.

Create(Stream, Encoding)

Créer un OpenXmlWriter sur un flux donné

Create(OpenXmlPart)

Créez un OpenXmlWriter à partir d’OpenXmlPart.

public static DocumentFormat.OpenXml.OpenXmlWriter Create (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart);
static member Create : DocumentFormat.OpenXml.Packaging.OpenXmlPart -> DocumentFormat.OpenXml.OpenXmlWriter
Public Shared Function Create (openXmlPart As OpenXmlPart) As OpenXmlWriter

Paramètres

openXmlPart
OpenXmlPart

OpenXmlPart à écrire.

Retours

Le instance OpenXmlWriter créé.

S’applique à

Create(Stream)

Créez un OpenXmlWriter sur un flux donné.

public static DocumentFormat.OpenXml.OpenXmlWriter Create (System.IO.Stream partStream);
static member Create : System.IO.Stream -> DocumentFormat.OpenXml.OpenXmlWriter
Public Shared Function Create (partStream As Stream) As OpenXmlWriter

Paramètres

partStream
Stream

Flux cible.

Retours

Le instance OpenXmlWriter créé.

S’applique à

Create(OpenXmlPart, Encoding)

Créez un OpenXmlWriter à partir d’OpenXmlPart.

public static DocumentFormat.OpenXml.OpenXmlWriter Create (DocumentFormat.OpenXml.Packaging.OpenXmlPart openXmlPart, System.Text.Encoding encoding);
static member Create : DocumentFormat.OpenXml.Packaging.OpenXmlPart * System.Text.Encoding -> DocumentFormat.OpenXml.OpenXmlWriter
Public Shared Function Create (openXmlPart As OpenXmlPart, encoding As Encoding) As OpenXmlWriter

Paramètres

openXmlPart
OpenXmlPart

OpenXmlPart à écrire.

encoding
Encoding

Encodage du flux XML.

Retours

Le instance OpenXmlWriter créé.

S’applique à

Create(Stream, Encoding)

Créer un OpenXmlWriter sur un flux donné

public static DocumentFormat.OpenXml.OpenXmlWriter Create (System.IO.Stream partStream, System.Text.Encoding encoding);
static member Create : System.IO.Stream * System.Text.Encoding -> DocumentFormat.OpenXml.OpenXmlWriter
Public Shared Function Create (partStream As Stream, encoding As Encoding) As OpenXmlWriter

Paramètres

partStream
Stream

Flux cible.

encoding
Encoding

Encodage du flux XML.

Retours

Le instance OpenXmlWriter créé.

S’applique à