InternationalMacroSheetPart.AddEmbeddedPackagePart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddEmbeddedPackagePart(EmbeddedPackagePartType) | |
AddEmbeddedPackagePart(String) |
Adds a EmbeddedPackagePart to the InternationalMacroSheetPart |
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
Parameters
- partType
- EmbeddedPackagePartType
Returns
Applies to
AddEmbeddedPackagePart(String)
Adds a EmbeddedPackagePart to the InternationalMacroSheetPart
public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (string contentType);
member this.AddEmbeddedPackagePart : string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (contentType As String) As EmbeddedPackagePart
Parameters
- contentType
- String
The content type of the EmbeddedPackagePart
Returns
The newly added part.
Applies to
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
Parameters
- partType
- EmbeddedPackagePartType
- id
- String
Returns
Applies to
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
Parameters
- contentType
- String
- id
- String