次の方法で共有


HeaderPart.AddEmbeddedPackagePart メソッド

定義

オーバーロード

AddEmbeddedPackagePart(String, String)
AddEmbeddedPackagePart(EmbeddedPackagePartType)
AddEmbeddedPackagePart(String)

EmbeddedPackagePart を HeaderPart に追加します

AddEmbeddedPackagePart(EmbeddedPackagePartType, String)

AddEmbeddedPackagePart(String, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (string contentType, string id);
member this.AddEmbeddedPackagePart : string * string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (contentType As String, id As String) As EmbeddedPackagePart

パラメーター

contentType
String
id
String

戻り値

適用対象

AddEmbeddedPackagePart(EmbeddedPackagePartType)

public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType partType);
member this.AddEmbeddedPackagePart : DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (partType As EmbeddedPackagePartType) As EmbeddedPackagePart

パラメーター

戻り値

適用対象

AddEmbeddedPackagePart(String)

EmbeddedPackagePart を HeaderPart に追加します

public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (string contentType);
member this.AddEmbeddedPackagePart : string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (contentType As String) As EmbeddedPackagePart

パラメーター

contentType
String

EmbeddedPackagePart のコンテンツ タイプ

戻り値

新しく追加されたパーツ。

適用対象

AddEmbeddedPackagePart(EmbeddedPackagePartType, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart AddEmbeddedPackagePart (DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType partType, string id);
member this.AddEmbeddedPackagePart : DocumentFormat.OpenXml.Packaging.EmbeddedPackagePartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedPackagePart
Public Function AddEmbeddedPackagePart (partType As EmbeddedPackagePartType, id As String) As EmbeddedPackagePart

パラメーター

id
String

戻り値

適用対象