点击或拖拽改变大小

MemVar.Clear 方法

X#
Clear a variable by name. Tries to clear a private first and when that is not found then a public

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

参数

cName
类型:String
The name of the memory variable.

返回值

类型:Boolean
备注
Clear does not remove the variable but sets its value to NIL.
In the FoxPro dialect Clear does not clear local variables when these are visible.
参见