Share via


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

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.

See also

Reference

CoerceActivity class

CoerceActivity members

Microsoft.SharePoint.WorkflowActions namespace