InArgument<T>.FromVariable(Variable) 方法
定义
使用指定的 InArgument<T> 初始化并返回一个新的 Variable。Initializes and returns a new InArgument<T> using the specified 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
参数的值。The value of the argument.
返回
新自变量。The new argument.