Поделиться через


HeaderPart.AddEmbeddedControlPersistencePart Метод

Определение

Перегрузки

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

Добавляет EmbeddedControlPersistencePart в headerPart.

AddEmbeddedControlPersistencePart(String, String)

Добавляет EmbeddedControlPersistencePart в headerPart.

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

Добавляет EmbeddedControlPersistencePart в headerPart.

AddEmbeddedControlPersistencePart(String)

Добавляет EmbeddedControlPersistencePart в headerPart.

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String)

Добавляет EmbeddedControlPersistencePart в headerPart.

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

Идентификатор связи

Возвращаемое значение

Добавленная часть.

Применяется к

AddEmbeddedControlPersistencePart(String, String)

Добавляет EmbeddedControlPersistencePart в headerPart.

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

Идентификатор связи

Возвращаемое значение

Добавленная часть.

Применяется к

AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType)

Добавляет EmbeddedControlPersistencePart в headerPart.

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 в headerPart.

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

Возвращаемое значение

Добавленная часть.

Применяется к