CoerceActivity.SetReturnValue Method
When overridden in a derived class, sets the return value of the activity to the result of the coercion.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Protected MustOverride Sub SetReturnValue ( _
obj As Object _
)
'Usage
Dim obj As Object
Me.SetReturnValue(obj)
protected abstract void SetReturnValue(
Object obj
)
Parameters
obj
Type: System.ObjectThe result of the coercion function.
Remarks
When overridden in a derived class, this method casts the obj to another type and assigns the value to the return value of the activity.