EndnotesPart.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 EndnotesPart |
AddAlternativeFormatImportPart(String) |
Adds a AlternativeFormatImportPart to the EndnotesPart |
AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String) |
Adds a AlternativeFormatImportPart to the EndnotesPart |
AddAlternativeFormatImportPart(String, String) |
Adds a AlternativeFormatImportPart to the EndnotesPart |
AddAlternativeFormatImportPart(AlternativeFormatImportPartType)
Adds a AlternativeFormatImportPart to the EndnotesPart
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
The newly added part.
Applies to
AddAlternativeFormatImportPart(String)
Adds a AlternativeFormatImportPart to the EndnotesPart
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
The newly added part.
Applies to
AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)
Adds a AlternativeFormatImportPart to the EndnotesPart
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
The newly added part.
Applies to
AddAlternativeFormatImportPart(String, String)
Adds a AlternativeFormatImportPart to the EndnotesPart
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
Returns
The newly added part.