MacroSheetPart.AddEmbeddedPackagePart Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
- partType
- EmbeddedPackagePartType
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
- partType
- EmbeddedPackagePartType
- 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