CoerceDurationUnitActivity.AsDurationUnit Method

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
Public Shared Function AsDurationUnit ( _
    context As WorkflowContext, _
    val As Object _
) As DurationUnit
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As DurationUnit

returnValue = CoerceDurationUnitActivity.AsDurationUnit(context, _
    val)
public static DurationUnit AsDurationUnit(
    WorkflowContext context,
    Object val
)

Parameters

Return Value

Type: Microsoft.Office.Workflow.Actions.DurationUnit
Returns DurationUnit.

See Also

Reference

CoerceDurationUnitActivity Class

CoerceDurationUnitActivity Members

Microsoft.Office.Workflow.Actions Namespace