点击或拖拽改变大小

MemVar.TryGet Method

X#
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
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

类型:Logic
TRUE when the variable was found. Otherwise FALSE
See Also