Share via


HeaderPart.AddAlternativeFormatImportPart Method (AlternativeFormatImportPartType, 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 ( _
    partType As AlternativeFormatImportPartType, _
    id As String _
) As AlternativeFormatImportPart
'Usage
Dim instance As HeaderPart
Dim partType As AlternativeFormatImportPartType
Dim id As String
Dim returnValue As AlternativeFormatImportPart

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

Parameters

  • partType
  • id

See Also

Reference

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