NativeActivityMetadata.AddVariable Method (Variable, Object)

.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.

Adds the specified variable to the metadata’s collection of variables.

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

public void AddVariable(
	Variable variable,
	object origin
)

Parameters

variable
Type: System.Activities.Variable

The variable to add.

origin
Type: System.Object

The origin of the variable.

.NET Framework
Available since 4.5
Return to top
Show: