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