| Visual Basic (Usage) | Copy Code |
|---|---|
Dim variable As BaseDataVariableState(Of T) Dim value As T value = BaseVariableState.GetValue(Of T)(variable) | |
| C# | |
|---|---|
public static T GetValue<T>( BaseDataVariableState<T> variable ) | |
Parameters
- variable
- The variable.
Type Parameters
- T
- The framework type of value contained in the variable.
Return Value
The value contained by the variable or the default value for the datatype if the variable is null.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x