Variable.Create Method (String, Type, VariableModifiers)

.NET Framework (current version)
 

Initializes and returns new instance of the Variable class.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public static Variable Create(
	string name,
	Type type,
	VariableModifiers modifiers
)

Parameters

name
Type: System.String

The name for the Variable.

type
Type: System.Type

The type for the Variable.

modifiers
Type: System.Activities.VariableModifiers

The configuration options for the Variable.

Return Value

Type: System.Activities.Variable

The new variable.

.NET Framework
Available since 4.0
Return to top
Show: