MainDocumentPart.AddAlternativeFormatImportPart Method (AlternativeFormatImportPartType) (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.]
Add a AlternativeFormatImportPart to the MainDocumentPart
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 _
) As AlternativeFormatImportPart
'Usage
Dim instance As MainDocumentPart
Dim partType As AlternativeFormatImportPartType
Dim returnValue As AlternativeFormatImportPart
returnValue = instance.AddAlternativeFormatImportPart(partType)
public AlternativeFormatImportPart AddAlternativeFormatImportPart (
AlternativeFormatImportPartType partType
)
Parameters
- partType
the part type of the AlternativeFormatImportPart
Return Value
The newly added part
See Also
Reference
MainDocumentPart Class
MainDocumentPart Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace