语言

InOutArgument<T>.FromVariable(Variable<T>) 方法

定义

使用指定的InOutArgument<T>值初始化并返回一个新Variable<T>构造。

public:
 static System::Activities::InOutArgument<T> ^ FromVariable(System::Activities::Variable<T> ^ variable);
public static System.Activities.InOutArgument<T> FromVariable(System.Activities.Variable<T> variable);
static member FromVariable : System.Activities.Variable<'T> -> System.Activities.InOutArgument<'T>
Public Shared Function FromVariable (variable As Variable(Of T)) As InOutArgument(Of T)

参数

variable
Variable<T>

参数的值。

返回

新参数。

适用于