MemVar.TryGet Method
|
|
Try to retrieve the value of a local, private or public (in that order).
命名空间:
XSharp
程序集:
XSharp.RT (在 XSharp.RT.dll 中) 版本:2.24 GA
Syntax STATIC METHOD TryGet(
cName AS STRING,
uValue OUT USUAL
) AS LOGIC
public static bool TryGet(
string cName,
out Usual uValue
)
Request Example
查看代码Parameters
- cName
- 类型:String
The name of the memory variable - uValue
- 类型:Usual
Value of the variable, or NIL whe the variable does not exist.
Return Value
类型:
LogicTRUE when the variable was found. Otherwise FALSE
See Also