Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NativeActivityContext.GetValue<T> Method (Variable<T>)

.NET Framework 4.6 and 4.5

Returns the value of the specified generic variable in the current NativeActivity instance.

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

public T GetValue<T>(
	Variable<T> variable
)

Type Parameters

T

The type of the variable whose value is being retrieved.

Parameters

variable
Type: System.Activities.Variable<T>

The generic variable whose value is being retrieved during execution of the current NativeActivity instance.

Return Value

Type: T
The value of the specified variable.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft