InOutArgument<T>.FromExpression 方法

定义

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

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

参数

expression
Activity<Location<T>>

参数的值。

返回

新自变量。

适用于