点击或拖拽改变大小

RuntimeState.SetDataSession 方法

X#
This method can be used to switch the active DataSession in the runtime state.

命名空间:  XSharp
程序集:  XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法
 STATIC METHOD SetDataSession(
	session AS DataSession
) AS DataSession
查看代码

参数

session
类型:DataSession
The datasession that needs to be set as the new active datasession

返回值

类型:DataSession
The previous active datasession
备注
This sets the DataSession in the current thread.
参见