DynamicValue Implicit Conversion (DateTime to DynamicValue)
Casts a DateTime value to a DynamicValue.
Namespace: Microsoft.Activities
Assembly: Microsoft.Activities (in Microsoft.Activities.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
value As DateTime _
) As DynamicValue
'Usage
Dim input As DateTime
Dim output As DynamicValue
output = CType(input, DynamicValue)
public static implicit operator DynamicValue (
DateTime value
)
static implicit operator DynamicValue^ (
DateTime value
)
JScript supports the use of custom casts, but not the declaration of new ones.
Parameters
- value
Type: System.DateTime
A DateTime value.
Return Value
Type: Microsoft.Activities.DynamicValue
A DynamicValue representation of the specified DateTime value.