HeaderPart.AddAlternativeFormatImportPart Method (String) (Microsoft.Office.DocumentFormat.OpenXml.Packaging)
[このトピックはプレリリースのドキュメントであり、今後のリリース時に変更される可能性があります。空白のトピックはプレースホルダとして表示されています。]
Add a AlternativeFormatImportPart to the HeaderPart
Namespace: Microsoft.Office.DocumentFormat.OpenXml.Packaging
Assembly: Microsoft.Office.DocumentFormat.OpenXml (in microsoft.office.documentformat.openxml.dll)
構文
'宣言
Public Function AddAlternativeFormatImportPart ( _
contentType As String _
) As AlternativeFormatImportPart
'使用
Dim instance As HeaderPart
Dim contentType As String
Dim returnValue As AlternativeFormatImportPart
returnValue = instance.AddAlternativeFormatImportPart(contentType)
public AlternativeFormatImportPart AddAlternativeFormatImportPart (
string contentType
)
Parameters
- contentType
the content type of the AlternativeFormatImportPart
Return Value
The newly added part
参照
リファレンス
HeaderPart Class
HeaderPart Members
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace