Variable.Create(String, Type, VariableModifiers) 方法

定义

初始化并返回类的新实例 Variable

public:
 static System::Activities::Variable ^ Create(System::String ^ name, Type ^ type, System::Activities::VariableModifiers modifiers);
public static System.Activities.Variable Create(string name, Type type, System.Activities.VariableModifiers modifiers);
static member Create : string * Type * System.Activities.VariableModifiers -> System.Activities.Variable
Public Shared Function Create (name As String, type As Type, modifiers As VariableModifiers) As Variable

参数

name
String

Variable的名称。

type
Type

的类型的 Variable值。

modifiers
VariableModifiers

的配置选项 Variable

返回

新变量。

适用于