Freigeben über


MacroSheetPart.AddEmbeddedPackagePart Methode

Definition

Überlädt

AddEmbeddedPackagePart(EmbeddedPackagePartType)
AddEmbeddedPackagePart(String)

Fügt dem MacroSheetPart ein EmbeddedPackagePart hinzu.

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

Parameter

Gibt zurück

Gilt für:

AddEmbeddedPackagePart(String)

Fügt dem MacroSheetPart ein EmbeddedPackagePart hinzu.

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

Parameter

contentType
String

Der Inhaltstyp des EmbeddedPackagePart

Gibt zurück

Der neu hinzugefügte Teil.

Gilt für:

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

Parameter

id
String

Gibt zurück

Gilt für:

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

Parameter

contentType
String
id
String

Gibt zurück

Gilt für: