WorksheetPart.AddEmbeddedControlPersistencePart 方法

定义

重载

AddEmbeddedControlPersistencePart(String, String)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

AddEmbeddedControlPersistencePart(String)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

AddEmbeddedControlPersistencePart(String, String)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

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

参数

contentType
String

EmbeddedControlPersistencePart 的内容类型

id
String

关系 ID

返回

新添加的部件。

适用于

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

public DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart AddEmbeddedControlPersistencePart (DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType partType, string id);
member this.AddEmbeddedControlPersistencePart : DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart
Public Function AddEmbeddedControlPersistencePart (partType As EmbeddedControlPersistencePartType, id As String) As EmbeddedControlPersistencePart

参数

partType
EmbeddedControlPersistencePartType

EmbeddedControlPersistencePart 的部件类型

id
String

关系 ID

返回

新添加的部件。

适用于

AddEmbeddedControlPersistencePart(String)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

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

参数

contentType
String

EmbeddedControlPersistencePart 的内容类型

返回

新添加的部件。

适用于

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

将 EmbeddedControlPersistencePart 添加到 WorksheetPart

public DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart AddEmbeddedControlPersistencePart (DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType partType);
member this.AddEmbeddedControlPersistencePart : DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePartType -> DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistencePart
Public Function AddEmbeddedControlPersistencePart (partType As EmbeddedControlPersistencePartType) As EmbeddedControlPersistencePart

参数

partType
EmbeddedControlPersistencePartType

EmbeddedControlPersistencePart 的部件类型

返回

新添加的部件。

适用于