Click or drag to resize

RuntimeState.SetValueT Method

X#
Set a value for the state of the current Thread.

Namespace:  XSharp
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 STATIC METHOD SetValue<T>(
	nSetting AS Set,
	oValue AS T
)
 AS T
Request Example View Source

Parameters

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: T
The previous value, or a default value of type T when the setting was not yetr defined.
See Also