Share via


OpenXmlSupportedRelationshipExtensions.AddEmbeddedControlPersistenceBinaryDataPart Method

Definition

Overloads

AddEmbeddedControlPersistenceBinaryDataPart<T>(T, PartTypeInfo, String)

Adds a EmbeddedControlPersistenceBinaryDataPart as a relationship to the parent part

AddEmbeddedControlPersistenceBinaryDataPart<T>(T, String, String)

Adds a EmbeddedControlPersistenceBinaryDataPart as a relationship to the parent part

AddEmbeddedControlPersistenceBinaryDataPart<T>(T, PartTypeInfo, String)

Adds a EmbeddedControlPersistenceBinaryDataPart as a relationship to the parent part

public static DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPart AddEmbeddedControlPersistenceBinaryDataPart<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.EmbeddedControlPersistenceBinaryDataPart>;
static member AddEmbeddedControlPersistenceBinaryDataPart : 'T * DocumentFormat.OpenXml.Packaging.PartTypeInfo * string -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPart (requires 'T :> DocumentFormat.OpenXml.Packaging.OpenXmlPartContainer and 'T :> DocumentFormat.OpenXml.Packaging.ISupportedRelationship<DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPart>)
<Extension()>
Public Function AddEmbeddedControlPersistenceBinaryDataPart(Of T As {OpenXmlPartContainer, ISupportedRelationship(Of EmbeddedControlPersistenceBinaryDataPart)}) (parent As T, partType As PartTypeInfo, Optional id As String = Nothing) As EmbeddedControlPersistenceBinaryDataPart

Type Parameters

T

Parameters

parent
T

The parent part requesting to add.

partType
PartTypeInfo

The part type information for the added extensible part.

id
String

The relationship id. Optional, default to null.

Returns

Applies to

AddEmbeddedControlPersistenceBinaryDataPart<T>(T, String, String)

Adds a EmbeddedControlPersistenceBinaryDataPart as a relationship to the parent part

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

Type Parameters

T

Parameters

parent
T

The parent part requesting to add.

contentType
String

The content type information for the added extensible part.

id
String

The relationship id. Optional, default to null.

Returns

Applies to