Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Variable(T) Constructor (Expression(Func(ActivityContext, T)))

Variable<T> Constructor (Expression<Func<ActivityContext, T>>)

.NET Framework 4.6 and 4.5

Initializes a new instance of the Variable<T> class with the default expression.

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

public Variable(
	Expression<Func<ActivityContext, T>> defaultExpression


Type: System.Linq.Expressions.Expression<Func<ActivityContext, T>>

The default expression.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft