点击或拖拽改变大小

MemVar._GetSafe 方法

X#
Get the value of a local, private or public (in that order). Returns NIL if the value does not exist.

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

参数

cName
类型:String
The name of the memory variable

返回值

类型:__Usual
The value of the memory variable or NIL when it does not exist.
备注
When a private and a public exist with the same name then the private has preference
参见