Bewerken

Delen via


NativeActivityUpdateContext.GetValue Method

Definition

Gets the value of the specified object.

Overloads

GetValue(RuntimeArgument)

Gets the value of the specified RuntimeArgument.

GetValue(Variable)

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

GetValue(Argument)

Gets the value of the specified Argument.

GetValue<T>(Variable<T>)

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

GetValue(RuntimeArgument)

Gets the value of the specified RuntimeArgument.

public:
 System::Object ^ GetValue(System::Activities::RuntimeArgument ^ runtimeArgument);
public object GetValue (System.Activities.RuntimeArgument runtimeArgument);
member this.GetValue : System.Activities.RuntimeArgument -> obj
Public Function GetValue (runtimeArgument As RuntimeArgument) As Object

Parameters

runtimeArgument
RuntimeArgument

The argument to inspect.

Returns

the value of the specified RuntimeArgument.

Applies to

GetValue(Variable)

Gets 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);
member 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 in the current NativeActivity instance.

Applies to

GetValue(Argument)

Gets the value of the specified Argument.

public:
 System::Object ^ GetValue(System::Activities::Argument ^ argument);
public object GetValue (System.Activities.Argument argument);
member this.GetValue : System.Activities.Argument -> obj
Public Function GetValue (argument As Argument) As Object

Parameters

argument
Argument

The argument to inspect.

Returns

The value of the specified Argument.

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);
member 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 generic variable in the current NativeActivity instance.

Applies to