共用方式為


WordprocessingCommentsExPart.AddEmbeddedControlPersistencePart Method

Definition

Overloads

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsExPart

AddEmbeddedControlPersistencePart(String, String)

Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsExPart

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsExPart

AddEmbeddedControlPersistencePart(String)

Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsExPart

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsExPart

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 WordprocessingCommentsExPart

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

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsExPart

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 WordprocessingCommentsExPart

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