共用方式為


InArgument<T>.FromExpression(Activity<T>) 方法

定義

使用指定的 InArgument<T>,初始化並傳回新 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)

參數

expression
Activity<T>

引數的值。

傳回

新引數。

適用於