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
- dynamicValue
Type: Microsoft.Activities.DynamicValue
The dynamic value to be converted to TimeSpan Value.
Return Value
Type: System.TimeSpan
The converted TimeSpan value from a dynamic value.