Partilhar via


RootWorkflowActivityWithDataCodeDomSerializer.Serialize Method

Serializes the RootWorkflowActivityWithData activity into a new CodeTypeDeclaration object.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Overrides Function Serialize ( _
    manager As IDesignerSerializationManager, _
    obj As Object, _
    members As ICollection _
) As CodeTypeDeclaration
'Usage
Dim instance As RootWorkflowActivityWithDataCodeDomSerializer
Dim manager As IDesignerSerializationManager
Dim obj As Object
Dim members As ICollection
Dim returnValue As CodeTypeDeclaration

returnValue = instance.Serialize(manager, _
    obj, members)
public override CodeTypeDeclaration Serialize(
    IDesignerSerializationManager manager,
    Object obj,
    ICollection members
)

Parameters

Return Value

Type: System.CodeDom.CodeTypeDeclaration
A type declaration that represents code that declares the RootWorkflowActivityWithData activity.

Remarks

This override serializes the members of the WorkflowFields of the RootWorkflowActivityWithData activity into the CodeMemberField of the CodeTypeDeclaration.

See Also

Reference

RootWorkflowActivityWithDataCodeDomSerializer Class

RootWorkflowActivityWithDataCodeDomSerializer Members

Microsoft.SharePoint.WorkflowActions Namespace