WordprocessingCommentsIdsPart.AddAlternativeFormatImportPart 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
AddAlternativeFormatImportPart(AlternativeFormatImportPartType) |
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart |
AddAlternativeFormatImportPart(String) |
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart |
AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String) |
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart |
AddAlternativeFormatImportPart(String, String) |
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart |
AddAlternativeFormatImportPart(AlternativeFormatImportPartType)
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType);
member this.AddAlternativeFormatImportPart : DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (partType As AlternativeFormatImportPartType) As AlternativeFormatImportPart
Parameters
- partType
- AlternativeFormatImportPartType
The part type of the AlternativeFormatImportPart
Returns
Applies to
AddAlternativeFormatImportPart(String)
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (string contentType);
member this.AddAlternativeFormatImportPart : string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (contentType As String) As AlternativeFormatImportPart
Parameters
- contentType
- String
The content type of the AlternativeFormatImportPart
Returns
Applies to
AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType, string id);
member this.AddAlternativeFormatImportPart : DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType * string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (partType As AlternativeFormatImportPartType, id As String) As AlternativeFormatImportPart
Parameters
- partType
- AlternativeFormatImportPartType
The part type of the AlternativeFormatImportPart
- id
- String
The relationship id
Returns
Applies to
AddAlternativeFormatImportPart(String, String)
Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (string contentType, string id);
member this.AddAlternativeFormatImportPart : string * string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (contentType As String, id As String) As AlternativeFormatImportPart
Parameters
- contentType
- String
The content type of the AlternativeFormatImportPart
- id
- String
The relationship id