MemVar.TryGet 方法 | |
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
public static bool TryGet(
string cName,
out __Usual uValue
)
查看代码参数
- cName
- 类型:String
The name of the memory variable - uValue
- 类型:__Usual
Value of the variable, or NIL whe the variable does not exist.
返回值
类型:
BooleanTRUE when the variable was found. Otherwise FALSE
参见