다음을 통해 공유


MainDocumentPart.AddEmbeddedControlPersistencePart Method

Definition

Overloads

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

AddEmbeddedControlPersistencePart(String)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

AddEmbeddedControlPersistencePart(String, String)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

public DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart AddEmbeddedControlPersistencePart (DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType partType);
member this.AddEmbeddedControlPersistencePart : DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart
Public Function AddEmbeddedControlPersistencePart (partType As EmbeddedControlPersistencePartType) As EmbeddedControlPersistencePart

Parameters

partType
EmbeddedControlPersistencePartType

The part type of the EmbeddedControlPersistencePart

Returns

The newly added part.

Applies to

AddEmbeddedControlPersistencePart(String)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

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

Parameters

contentType
String

The content type of the EmbeddedControlPersistencePart

Returns

The newly added part.

Applies to

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

public DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart AddEmbeddedControlPersistencePart (DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType partType, string id);
member this.AddEmbeddedControlPersistencePart : DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart
Public Function AddEmbeddedControlPersistencePart (partType As EmbeddedControlPersistencePartType, id As String) As EmbeddedControlPersistencePart

Parameters

partType
EmbeddedControlPersistencePartType

The part type of the EmbeddedControlPersistencePart

id
String

The relationship id

Returns

The newly added part.

Applies to

AddEmbeddedControlPersistencePart(String, String)

Adds a EmbeddedControlPersistencePart to the MainDocumentPart

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

Parameters

contentType
String

The content type of the EmbeddedControlPersistencePart

id
String

The relationship id

Returns

The newly added part.

Applies to