Editare

Partajați prin


ActivityContext.GetValue Method

Definition

Gets the value of an argument.

Overloads

GetValue(Argument)

Gets the value of the specified Argument.

GetValue(RuntimeArgument)

Gets the value of the specified RuntimeArgument.

GetValue<T>(InArgument<T>)

Gets the value of the specified InArgument<T>.

GetValue<T>(InOutArgument<T>)

Gets the value of the specified InOutArgument<T>.

GetValue<T>(LocationReference)

Gets the value at the specified LocationReference.

GetValue<T>(OutArgument<T>)

Gets the value of the specified OutArgument<T>.

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 argument.

Applies to

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 argument.

Applies to

GetValue<T>(InArgument<T>)

Gets the value of the specified InArgument<T>.

public:
generic <typename T>
 T GetValue(System::Activities::InArgument<T> ^ argument);
public T GetValue<T> (System.Activities.InArgument<T> argument);
member this.GetValue : System.Activities.InArgument<'T> -> 'T
Public Function GetValue(Of T) (argument As InArgument(Of T)) As T

Type Parameters

T

The type of the argument.

Parameters

argument
InArgument<T>

The argument to inspect.

Returns

T

The value of the argument.

Applies to

GetValue<T>(InOutArgument<T>)

Gets the value of the specified InOutArgument<T>.

public:
generic <typename T>
 T GetValue(System::Activities::InOutArgument<T> ^ argument);
public T GetValue<T> (System.Activities.InOutArgument<T> argument);
member this.GetValue : System.Activities.InOutArgument<'T> -> 'T
Public Function GetValue(Of T) (argument As InOutArgument(Of T)) As T

Type Parameters

T

The type of the argument.

Parameters

argument
InOutArgument<T>

The argument to inspect.

Returns

T

The value of the argument.

Applies to

GetValue<T>(LocationReference)

Gets the value at the specified LocationReference.

public:
generic <typename T>
 T GetValue(System::Activities::LocationReference ^ locationReference);
public T GetValue<T> (System.Activities.LocationReference locationReference);
member this.GetValue : System.Activities.LocationReference -> 'T
Public Function GetValue(Of T) (locationReference As LocationReference) As T

Type Parameters

T

The type of the value.

Parameters

locationReference
LocationReference

The referenced location to inspect.

Returns

T

The value of the referenced location.

Applies to

GetValue<T>(OutArgument<T>)

Gets the value of the specified OutArgument<T>.

public:
generic <typename T>
 T GetValue(System::Activities::OutArgument<T> ^ argument);
public T GetValue<T> (System.Activities.OutArgument<T> argument);
member this.GetValue : System.Activities.OutArgument<'T> -> 'T
Public Function GetValue(Of T) (argument As OutArgument(Of T)) As T

Type Parameters

T

The type of the argument.

Parameters

argument
OutArgument<T>

The argument to inspect.

Returns

T

The value of the argument.

Applies to