SetValue(T) Method (Variable(T), T)
Collapse the table of content
Expand the table of content

NativeActivityContext.SetValue<T> Method (Variable<T>, T)

.NET Framework (current version)
 

Assigns the specified generic value object to the specified generic variable object.

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

public void SetValue<T>(
	Variable<T> variable,
	T value
)

Parameters

variable
Type: System.Activities.Variable<T>

A variable object with a specified type that can be assigned a value object.

value
Type: T

An object with a specified type that can be assigned to a variable object.

Type Parameters

T

The type of the variable and value.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft