Variable.Create Method (String, Type, VariableModifiers)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: