Compartir a través de


MainDocumentPart.AddAlternativeFormatImportPart Método

Definición

Sobrecargas

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

Agrega un objeto AlternativeFormatImportPart a MainDocumentPart.

AddAlternativeFormatImportPart(String)

Agrega un objeto AlternativeFormatImportPart a MainDocumentPart.

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

Agrega un objeto AlternativeFormatImportPart a MainDocumentPart.

AddAlternativeFormatImportPart(String, String)

Agrega un objeto AlternativeFormatImportPart a MainDocumentPart.

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

Agrega un objeto AlternativeFormatImportPart a 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

Parámetros

partType
AlternativeFormatImportPartType

Tipo de elemento de AlternativeFormatImportPart

Devoluciones

La parte recién agregada.

Se aplica a

AddAlternativeFormatImportPart(String)

Agrega un objeto AlternativeFormatImportPart a 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

Parámetros

contentType
String

Tipo de contenido de AlternativeFormatImportPart

Devoluciones

La parte recién agregada.

Se aplica a

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

Agrega un objeto AlternativeFormatImportPart a 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

Parámetros

partType
AlternativeFormatImportPartType

Tipo de elemento de AlternativeFormatImportPart

id
String

Identificador de relación

Devoluciones

La parte recién agregada.

Se aplica a

AddAlternativeFormatImportPart(String, String)

Agrega un objeto AlternativeFormatImportPart a 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

Parámetros

contentType
String

Tipo de contenido de AlternativeFormatImportPart

id
String

Identificador de relación

Devoluciones

La parte recién agregada.

Se aplica a