Activity<TResult>::FromVariable Method (Variable<TResult>^)

.NET Framework (current version)
 

Returns a Activity<TResult> expression that evaluates to the given Variable<T>.

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

public:
static Activity<TResult>^ FromVariable(
	Variable<TResult>^ variable
)

Parameters

variable
Type: System.Activities::Variable<TResult>^

The value for the expression.

Return Value

Type: System.Activities::Activity<TResult>^

A workflow expression that evaluates to the given variable.

.NET Framework
Available since 4.0
Return to top
Show: