Argument.Get Method
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.
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. |
Gets the value of the argument 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 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 |
Gets the value of the argument using the specified type and 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 type of the argument.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: