Partager via


MainDocumentPart.AddAlternativeFormatImportPart Méthode

Définition

Surcharges

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

AddAlternativeFormatImportPart(String)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

AddAlternativeFormatImportPart(String, String)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType);
member this.AddAlternativeFormatImportPart : DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (partType As AlternativeFormatImportPartType) As AlternativeFormatImportPart

Paramètres

partType
AlternativeFormatImportPartType

Type de composant de l’élément AlternativeFormatImportPart

Retours

Composant nouvellement ajouté.

S’applique à

AddAlternativeFormatImportPart(String)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (string contentType);
member this.AddAlternativeFormatImportPart : string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (contentType As String) As AlternativeFormatImportPart

Paramètres

contentType
String

Type de contenu d’AlternativeFormatImportPart

Retours

Composant nouvellement ajouté.

S’applique à

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType, string id);
member this.AddAlternativeFormatImportPart : DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType * string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (partType As AlternativeFormatImportPartType, id As String) As AlternativeFormatImportPart

Paramètres

partType
AlternativeFormatImportPartType

Type de composant de l’élément AlternativeFormatImportPart

id
String

ID de relation

Retours

Composant nouvellement ajouté.

S’applique à

AddAlternativeFormatImportPart(String, String)

Ajoute un élément AlternativeFormatImportPart au MainDocumentPart

public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (string contentType, string id);
member this.AddAlternativeFormatImportPart : string * string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (contentType As String, id As String) As AlternativeFormatImportPart

Paramètres

contentType
String

Type de contenu d’AlternativeFormatImportPart

id
String

ID de relation

Retours

Composant nouvellement ajouté.

S’applique à