InArgument<T>.FromVariable(Variable) 方法

定义

使用指定的 InArgument<T> 初始化并返回一个新的 Variable

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

参数

variable
Variable

参数的值。

返回

新自变量。

适用于