RuntimeState.SetValueT Method | |
Set a value for the state of the current Thread.
Namespace:
XSharp
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax STATIC METHOD SetValue<T>(
nSetting AS Set,
oValue AS T
)
AS T
public static T SetValue<T>(
Set nSetting,
T oValue
)
Request Example
View SourceParameters
- nSetting
- Type: Set
Setting number to retrieve. Must be defined in the SET enum. - oValue
- Type: T
The new value for the setting.
Type Parameters
- T
- The return type expected for this setting.
Return Value
Type:
TThe previous value, or a default value of type T when the setting was not yetr defined.
See Also