EmbeddedControlPersistencePart.AddEmbeddedControlPersistenceBinaryDataPart Method (String)
Adds a EmbeddedControlPersistenceBinaryDataPart to the EmbeddedControlPersistencePart.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function AddEmbeddedControlPersistenceBinaryDataPart ( _
contentType As String _
) As EmbeddedControlPersistenceBinaryDataPart
'Usage
Dim instance As EmbeddedControlPersistencePart
Dim contentType As String
Dim returnValue As EmbeddedControlPersistenceBinaryDataPart
returnValue = instance.AddEmbeddedControlPersistenceBinaryDataPart(contentType)
public EmbeddedControlPersistenceBinaryDataPart AddEmbeddedControlPersistenceBinaryDataPart(
string contentType
)
Parameters
- contentType
Type: System.String
the content type of the EmbeddedControlPersistenceBinaryDataPart.
Return Value
Type: DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPart
The newly added part.
See Also
Reference
EmbeddedControlPersistencePart Class
EmbeddedControlPersistencePart Members