OutArgument<T>.FromExpression(Activity<Location<T>>) 方法

定义

初始化和返回使用指定的 OutArgument<T> 构造的新 Activity<TResult>

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

参数

expression
Activity<Location<T>>

参数的值。

返回

新自变量。

适用于