Rediger

Del via


InArgument<T>.FromExpression(Activity<T>) Method

Definition

Initializes and returns a new InArgument<T> using the specified Activity<TResult>.

public:
 static System::Activities::InArgument<T> ^ FromExpression(System::Activities::Activity<T> ^ expression);
public static System.Activities.InArgument<T> FromExpression (System.Activities.Activity<T> expression);
static member FromExpression : System.Activities.Activity<'T> -> System.Activities.InArgument<'T>
Public Shared Function FromExpression (expression As Activity(Of T)) As InArgument(Of T)

Parameters

expression
Activity<T>

The value of the argument.

Returns

The new argument.

Applies to