SlidePart.AddEmbeddedControlPersistencePart 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String) |
将 EmbeddedControlPersistencePart 添加到 SlidePart |
AddEmbeddedControlPersistencePart(String, String) |
将 EmbeddedControlPersistencePart 添加到 SlidePart |
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType) |
将 EmbeddedControlPersistencePart 添加到 SlidePart |
AddEmbeddedControlPersistencePart(String) |
将 EmbeddedControlPersistencePart 添加到 SlidePart |
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)
将 EmbeddedControlPersistencePart 添加到 SlidePart
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, String)
将 EmbeddedControlPersistencePart 添加到 SlidePart
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)
将 EmbeddedControlPersistencePart 添加到 SlidePart
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 的部件类型
返回
新添加的部件。
适用于
AddEmbeddedControlPersistencePart(String)
将 EmbeddedControlPersistencePart 添加到 SlidePart
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 的内容类型
返回
新添加的部件。