ActivityMetadata.AddVariable Method (Variable, Object)

.NET Framework 4.6 and 4.5

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.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft