Usual Conversion (Usual to DWord)
|
|
这个运算符在编译器生成的代码中使用,当需要时。
命名空间:
XSharp
程序集:
XSharp.RT (在 XSharp.RT.dll 中) 版本:2.24 GA
Syntax STATIC OPERATOR IMPLICIT (
u AS USUAL
) AS DWORD
public static implicit operator uint (
Usual u
)
Request Example
查看代码Parameters
- u
- 类型:Usual
Return Value
类型:
DWord
备注When the usual contains a value that does not fit inside a DWORD (such as a -1) NO overflow error will be generated, just like in VO.
This may seem not logical, but the VO SDK code is full of code that will not run if we change this behavior
See Also