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 的配置选项。

返回

新变量。

适用于