MacroSheetPart.AddCustomPropertyPart Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddCustomPropertyPart(CustomPropertyPartType) |
Ajoute un CustomPropertyPart au MacroSheetPart |
AddCustomPropertyPart(String) |
Ajoute un CustomPropertyPart au MacroSheetPart |
AddCustomPropertyPart(CustomPropertyPartType, String) |
Ajoute un CustomPropertyPart au MacroSheetPart |
AddCustomPropertyPart(String, String) |
Ajoute un CustomPropertyPart au MacroSheetPart |
AddCustomPropertyPart(CustomPropertyPartType)
Ajoute un CustomPropertyPart au MacroSheetPart
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
Paramètres
- partType
- CustomPropertyPartType
Type de composant de CustomPropertyPart
Retours
Composant nouvellement ajouté.
S’applique à
AddCustomPropertyPart(String)
Ajoute un CustomPropertyPart au MacroSheetPart
public DocumentFormat.OpenXml.Packaging.CustomPropertyPart AddCustomPropertyPart (string contentType);
member this.AddCustomPropertyPart : string -> DocumentFormat.OpenXml.Packaging.CustomPropertyPart
Public Function AddCustomPropertyPart (contentType As String) As CustomPropertyPart
Paramètres
- contentType
- String
Type de contenu de CustomPropertyPart
Retours
Composant nouvellement ajouté.
S’applique à
AddCustomPropertyPart(CustomPropertyPartType, String)
Ajoute un CustomPropertyPart au MacroSheetPart
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
Paramètres
- partType
- CustomPropertyPartType
Type de composant de CustomPropertyPart
- id
- String
ID de relation
Retours
Composant nouvellement ajouté.
S’applique à
AddCustomPropertyPart(String, String)
Ajoute un CustomPropertyPart au MacroSheetPart
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
Paramètres
- contentType
- String
Type de contenu de CustomPropertyPart
- id
- String
ID de relation
Retours
Composant nouvellement ajouté.