点击或拖拽改变大小

MemVar.TryGet 方法

X#
Try to retrieve the value of a local, private or public (in that order).

命名空间:  XSharp
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.22 GA
语法
 STATIC METHOD TryGet(
	cName AS STRING,
	uValue OUT USUAL
) AS LOGIC
查看代码

参数

cName
类型:String
The name of the memory variable
uValue
类型:__Usual
Value of the variable, or NIL whe the variable does not exist.

返回值

类型:Boolean
TRUE when the variable was found. Otherwise FALSE
参见