Bewerken

Delen via


NativeActivityContext.GetValue Method

Definition

Overloads

GetValue(Variable)

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

GetValue<T>(Variable<T>)

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

GetValue(Variable)

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

public:
 System::Object ^ GetValue(System::Activities::Variable ^ variable);
public object GetValue (System.Activities.Variable variable);
override this.GetValue : System.Activities.Variable -> obj
Public Function GetValue (variable As Variable) As Object

Parameters

variable
Variable

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

Returns

The value of the specified variable.

Applies to

GetValue<T>(Variable<T>)

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

public:
generic <typename T>
 T GetValue(System::Activities::Variable<T> ^ variable);
public T GetValue<T> (System.Activities.Variable<T> variable);
override this.GetValue : System.Activities.Variable<'T> -> 'T
Public Function GetValue(Of T) (variable As Variable(Of T)) As T

Type Parameters

T

The type of the variable whose value is being retrieved.

Parameters

variable
Variable<T>

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

Returns

T

The value of the specified variable.

Applies to