Variable.Create(String, Type, VariableModifiers) Method

Definition

Initializes and returns new instance of the Variable class.

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

Parameters

name
String

The name for the Variable.

type
Type

The type for the Variable.

modifiers
VariableModifiers

The configuration options for the Variable.

Returns

The new variable.

Applies to