共用方式為


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 的組態選項。

傳回

新變數。

適用於