Usual Conversion (Usual to Logic)
|
|
这个运算符在编译器生成的代码中使用,当需要时。
命名空间:
XSharp
程序集:
XSharp.RT (在 XSharp.RT.dll 中) 版本:2.24 GA
Syntax STATIC OPERATOR IMPLICIT (
u AS USUAL
) AS LOGIC
public static implicit operator bool (
Usual u
)
Request Example
查看代码Parameters
- u
- 类型:Usual
Return Value
类型:
Logic
备注When the usual contains a numeric value then this checks if the value != 0.
See Also