WordprocessingCommentsIdsPart.AddEmbeddedObjectPart 方法

定义

重载

AddEmbeddedObjectPart(EmbeddedObjectPartType)
AddEmbeddedObjectPart(String)

将 EmbeddedObjectPart 添加到 WordprocessingCommentsIdsPart

AddEmbeddedObjectPart(EmbeddedObjectPartType, String)
AddEmbeddedObjectPart(String, String)

AddEmbeddedObjectPart(EmbeddedObjectPartType)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType) As EmbeddedObjectPart

参数

返回

适用于

AddEmbeddedObjectPart(String)

将 EmbeddedObjectPart 添加到 WordprocessingCommentsIdsPart

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

参数

contentType
String

EmbeddedObjectPart 的内容类型

返回

适用于

AddEmbeddedObjectPart(EmbeddedObjectPartType, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType, string id);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType, id As String) As EmbeddedObjectPart

参数

id
String

返回

适用于

AddEmbeddedObjectPart(String, String)

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

参数

contentType
String
id
String

返回

适用于