Share via


MainDocumentPart.AddAlternativeFormatImportPart Method (String, String) (Microsoft.Office.DocumentFormat.OpenXml.Packaging)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)

Syntax

'Declaration
Public Function AddAlternativeFormatImportPart ( _
    contentType As String, _
    id As String _
) As AlternativeFormatImportPart
'Usage
Dim instance As MainDocumentPart
Dim contentType As String
Dim id As String
Dim returnValue As AlternativeFormatImportPart

returnValue = instance.AddAlternativeFormatImportPart(contentType, id)
public AlternativeFormatImportPart AddAlternativeFormatImportPart (
    string contentType,
    string id
)

Parameters

  • contentType
  • id

See Also

Reference

MainDocumentPart Class
MainDocumentPart Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace