RuntimeState.GetValueT 方法 | |
Retrieve a value from the state of the current Thread.
命名空间:
XSharp
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 STATIC METHOD GetValue<T>(
nSetting AS Set
)
AS T
public static T GetValue<T>(
Set nSetting
)
查看代码参数
- nSetting
- 类型:Set
Setting number to retrieve. Must be defined in the SET enum.
类型参数
- T
- The return type expected for this setting.
返回值
类型:
TThe current value, or a default value of type T.
参见