NativeActivityContext.GetValue 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.
GetValue(Variable) |
Returns the value of the specified variable in the current NativeActivity instance. |
GetValue<T>(Variable<T>) |
Returns the value of the specified generic variable in the current NativeActivity instance. |
Returns 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);
override 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.
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 |
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);
override 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
The value of the specified variable.
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: