WordprocessingCommentsIdsPart.AddAlternativeFormatImportPart 方法

定义

重载

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(String)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(String, String)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType);
member this.AddAlternativeFormatImportPart : DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (partType As AlternativeFormatImportPartType) As AlternativeFormatImportPart

参数

partType
AlternativeFormatImportPartType

AlternativeFormatImportPart 的部件类型

返回

适用于

AddAlternativeFormatImportPart(String)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

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

参数

contentType
String

AlternativeFormatImportPart 的内容类型

返回

适用于

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType, string id);
member this.AddAlternativeFormatImportPart : DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType * string -> DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart
Public Function AddAlternativeFormatImportPart (partType As AlternativeFormatImportPartType, id As String) As AlternativeFormatImportPart

参数

partType
AlternativeFormatImportPartType

AlternativeFormatImportPart 的部件类型

id
String

关系 ID

返回

适用于

AddAlternativeFormatImportPart(String, String)

将 AlternativeFormatImportPart 添加到 WordprocessingCommentsIdsPart

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

参数

contentType
String

AlternativeFormatImportPart 的内容类型

id
String

关系 ID

返回

适用于