RuntimeArgument.Get Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Get(ActivityContext) |
Gets the value of the RuntimeArgument using the specified activity context. |
Get<T>(ActivityContext) |
Gets the strongly-typed value of the RuntimeArgument using the specified activity context. |
Get(ActivityContext)
Gets the value of the RuntimeArgument using the specified activity context.
public:
System::Object ^ Get(System::Activities::ActivityContext ^ context);
public object Get (System.Activities.ActivityContext context);
member this.Get : System.Activities.ActivityContext -> obj
Public Function Get (context As ActivityContext) As Object
Parameters
- context
- ActivityContext
The current activity context.
Returns
The value of the RuntimeArgument.
Applies to
Get<T>(ActivityContext)
Gets the strongly-typed value of the RuntimeArgument using the specified activity context.
public:
generic <typename T>
T Get(System::Activities::ActivityContext ^ context);
public T Get<T> (System.Activities.ActivityContext context);
member this.Get : System.Activities.ActivityContext -> 'T
Public Function Get(Of T) (context As ActivityContext) As T
Type Parameters
- T
The return value type.
Parameters
- context
- ActivityContext
The current activity context.
Returns
The value of the RuntimeArgument.