Argument.Get Method

Definition

Overloads

Get(ActivityContext)

Gets the value of the argument using the specified activity context.

Get<T>(ActivityContext)

Gets the value of the argument using the specified type and activity context.

Get(ActivityContext)

Gets the value of the argument using the specified activity context.

C#
public object Get(System.Activities.ActivityContext context);

Parameters

context
ActivityContext

The current activity context.

Returns

The value of the argument.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Get<T>(ActivityContext)

Gets the value of the argument using the specified type and activity context.

C#
public T Get<T>(System.Activities.ActivityContext context);

Type Parameters

T

The type of the argument.

Parameters

context
ActivityContext

The current activity context.

Returns

T

The value of the argument.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1