Compartir a través de


MacroSheetPart.AddEmbeddedPackagePart Método

Definición

Sobrecargas

AddEmbeddedPackagePart(EmbeddedPackagePartType)
AddEmbeddedPackagePart(String)

Agrega un elemento EmbeddedPackagePart a MacroSheetPart

AddEmbeddedPackagePart(EmbeddedPackagePartType, String)
AddEmbeddedPackagePart(String, String)

AddEmbeddedPackagePart(EmbeddedPackagePartType)

public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType partType);
member this.AddEmbeddedPackagePart : DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (partType As EmbeddedPackagePartType) As EmbeddedPackagePart

Parámetros

Devoluciones

Se aplica a

AddEmbeddedPackagePart(String)

Agrega un elemento EmbeddedPackagePart a MacroSheetPart

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

Parámetros

contentType
String

Tipo de contenido de EmbeddedPackagePart

Devoluciones

La parte recién agregada.

Se aplica a

AddEmbeddedPackagePart(EmbeddedPackagePartType, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType partType, string id);
member this.AddEmbeddedPackagePart : DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (partType As EmbeddedPackagePartType, id As String) As EmbeddedPackagePart

Parámetros

id
String

Devoluciones

Se aplica a

AddEmbeddedPackagePart(String, String)

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

Parámetros

contentType
String
id
String

Devoluciones

Se aplica a