DynamicValue Implicit Conversion (DynamicValue to TimeSpan)

Converts a dynamic value to a TimeSpan value.

Namespace:  Microsoft.Activities
Assembly:  Microsoft.Activities (in Microsoft.Activities.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    dynamicValue As DynamicValue _
) As TimeSpan
'Usage
Dim input As DynamicValue 
Dim output As TimeSpan 

output = CType(input, TimeSpan)
public static implicit operator TimeSpan (
    DynamicValue dynamicValue
)
static implicit operator TimeSpan (
    DynamicValue^ dynamicValue
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: System.TimeSpan
The converted TimeSpan value from a dynamic value.

See Also

Reference

DynamicValue Class

Implicit Overload

Microsoft.Activities Namespace