Partager via


OpenXmlSupportedRelationshipExtensions.AddEmbeddedControlPersistencePart Méthode

Définition

Surcharges

AddEmbeddedControlPersistencePart<T>(T, PartTypeInfo, String)

Ajoute un EmbeddedControlPersistencePart en tant que relation au composant parent

AddEmbeddedControlPersistencePart<T>(T, String, String)

Ajoute un EmbeddedControlPersistencePart en tant que relation au composant parent

AddEmbeddedControlPersistencePart<T>(T, PartTypeInfo, String)

Ajoute un EmbeddedControlPersistencePart en tant que relation au composant parent

public static DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart AddEmbeddedControlPersistencePart<T> (this T parent, DocumentFormat.OpenXml.Packaging.PartTypeInfo partType, string? id = default) where T : DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer, DocumentFormat.OpenXml.Packaging.ISupportedRelationship<DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart>;
static member AddEmbeddedControlPersistencePart : 'T * DocumentFormat.OpenXml.Packaging.PartTypeInfo * string -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart (requires 'T :> DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer and 'T :> DocumentFormat.OpenXml.Packaging.ISupportedRelationship<DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart>)
<Extension()>
Public Function AddEmbeddedControlPersistencePart(Of T As {OpenXmlPartContainer, ISupportedRelationship(Of EmbeddedControlPersistencePart)}) (parent As T, partType As PartTypeInfo, Optional id As String = Nothing) As EmbeddedControlPersistencePart

Paramètres de type

T

Paramètres

parent
T

Partie parente demandant à ajouter.

partType
PartTypeInfo

Informations sur le type de composant pour la partie extensible ajoutée.

id
String

ID de relation. Facultatif, valeur par défaut null.

Retours

S’applique à

AddEmbeddedControlPersistencePart<T>(T, String, String)

Ajoute un EmbeddedControlPersistencePart en tant que relation au composant parent

public static DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart AddEmbeddedControlPersistencePart<T> (this T parent, string contentType, string? id = default) where T : DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer, DocumentFormat.OpenXml.Packaging.ISupportedRelationship<DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart>;
static member AddEmbeddedControlPersistencePart : 'T * string * string -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart (requires 'T :> DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer and 'T :> DocumentFormat.OpenXml.Packaging.ISupportedRelationship<DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart>)
<Extension()>
Public Function AddEmbeddedControlPersistencePart(Of T As {OpenXmlPartContainer, ISupportedRelationship(Of EmbeddedControlPersistencePart)}) (parent As T, contentType As String, Optional id As String = Nothing) As EmbeddedControlPersistencePart

Paramètres de type

T

Paramètres

parent
T

Partie parente demandant à ajouter.

contentType
String

Informations de type de contenu pour la partie extensible ajoutée.

id
String

ID de relation. Facultatif, valeur par défaut null.

Retours

S’applique à