WordprocessingCommentsPart.AddEmbeddedControlPersistencePart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String) |
Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsPart |
AddEmbeddedControlPersistencePart(String, String) |
Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsPart |
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType) |
Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsPart |
AddEmbeddedControlPersistencePart(String) |
Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsPart |
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)
Adds a EmbeddedControlPersistencePart to the WordprocessingCommentsPart
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 WordprocessingCommentsPart
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 WordprocessingCommentsPart
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 WordprocessingCommentsPart
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.