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
manager
Type: System.ComponentModel.Design.Serialization.IDesignerSerializationManagerThe serialization manager to use for serialization.
obj
Type: System.ObjectThe object to serialize.
members
Type: System.Collections.ICollectionAn optional collection of members.
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