Compartilhar via


WorksheetPart.AddEmbeddedPackagePart Método

Definição

Sobrecargas

AddEmbeddedPackagePart(EmbeddedPackagePartType)
AddEmbeddedPackagePart(String)

Adiciona um EmbeddedPackagePart à WorksheetPart

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

Retornos

Aplica-se a

AddEmbeddedPackagePart(String)

Adiciona um EmbeddedPackagePart à WorksheetPart

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

O tipo de conteúdo do EmbeddedPackagePart

Retornos

A parte recém-adicionada.

Aplica-se 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

Retornos

Aplica-se 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

Retornos

Aplica-se a