MemVar._GetSafe 方法 | |
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
public static __Usual _GetSafe(
string cName
)
查看代码参数
- cName
- 类型:String
The name of the memory variable
返回值
类型:
__UsualThe 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
参见