Activity<TResult>::FromVariable Method (Variable^)
.NET Framework (current version)
Returns a Activity<TResult> expression that evaluates to the given Variable.
Assembly: System.Activities (in System.Activities.dll)
Parameters
- variable
-
Type:
System.Activities::Variable^
The value for the expression.
Return Value
Type: System.Activities::Activity<TResult>^A workflow expression that evaluates to the given variable.
If the type of the Variable is not compatible with the type of the Activity<TResult>, then an ArgumentException is thrown.
.NET Framework
Available since 4.0
Available since 4.0
Show: