Freigeben über


MacroSheetPart.AddCustomPropertyPart Methode

Definition

Überlädt

AddCustomPropertyPart(CustomPropertyPartType)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

AddCustomPropertyPart(String)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

AddCustomPropertyPart(CustomPropertyPartType, String)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

AddCustomPropertyPart(String, String)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

AddCustomPropertyPart(CustomPropertyPartType)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

public DocumentFormat.OpenXml.Packaging.CustomPropertyPart AddCustomPropertyPart (DocumentFormat.OpenXml.Packaging.CustomPropertyPartType partType);
member this.AddCustomPropertyPart : DocumentFormat.OpenXml.Packaging.CustomPropertyPartType -> DocumentFormat.OpenXml.Packaging.CustomPropertyPart
Public Function AddCustomPropertyPart (partType As CustomPropertyPartType) As CustomPropertyPart

Parameter

partType
CustomPropertyPartType

Der Teiletyp von CustomPropertyPart

Gibt zurück

Der neu hinzugefügte Teil.

Gilt für:

AddCustomPropertyPart(String)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

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

Parameter

contentType
String

Der Inhaltstyp von CustomPropertyPart

Gibt zurück

Der neu hinzugefügte Teil.

Gilt für:

AddCustomPropertyPart(CustomPropertyPartType, String)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

public DocumentFormat.OpenXml.Packaging.CustomPropertyPart AddCustomPropertyPart (DocumentFormat.OpenXml.Packaging.CustomPropertyPartType partType, string id);
member this.AddCustomPropertyPart : DocumentFormat.OpenXml.Packaging.CustomPropertyPartType * string -> DocumentFormat.OpenXml.Packaging.CustomPropertyPart
Public Function AddCustomPropertyPart (partType As CustomPropertyPartType, id As String) As CustomPropertyPart

Parameter

partType
CustomPropertyPartType

Der Teiletyp von CustomPropertyPart

id
String

Die Beziehungs-ID

Gibt zurück

Der neu hinzugefügte Teil.

Gilt für:

AddCustomPropertyPart(String, String)

Fügt dem MacroSheetPart ein CustomPropertyPart-Objekt hinzu.

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

Parameter

contentType
String

Der Inhaltstyp von CustomPropertyPart

id
String

Die Beziehungs-ID

Gibt zurück

Der neu hinzugefügte Teil.

Gilt für: