EmbeddedControlPersistencePart.AddEmbeddedControlPersistenceBinaryDataPart Method (EmbeddedControlPersistenceBinaryDataPartType, String)

Adds a EmbeddedControlPersistenceBinaryDataPart to the EmbeddedControlPersistencePart.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function AddEmbeddedControlPersistenceBinaryDataPart ( _
    partType As EmbeddedControlPersistenceBinaryDataPartType, _
    id As String _
) As EmbeddedControlPersistenceBinaryDataPart
'Usage
Dim instance As EmbeddedControlPersistencePart
Dim partType As EmbeddedControlPersistenceBinaryDataPartType
Dim id As String
Dim returnValue As EmbeddedControlPersistenceBinaryDataPart

returnValue = instance.AddEmbeddedControlPersistenceBinaryDataPart(partType, _
    id)
public EmbeddedControlPersistenceBinaryDataPart AddEmbeddedControlPersistenceBinaryDataPart(
    EmbeddedControlPersistenceBinaryDataPartType partType,
    string id
)

Parameters

Return Value

Type: DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPart
The newly added part.

See Also

Reference

EmbeddedControlPersistencePart Class

EmbeddedControlPersistencePart Members

AddEmbeddedControlPersistenceBinaryDataPart Overload

DocumentFormat.OpenXml.Packaging Namespace