开发者

How can i cast an Object in mobiaccess?

开发者 https://www.devze.com 2023-04-06 11:27 出处:网络
I am playing around with mobiaccess framework, but i am stuck when开发者_Go百科 i try to cast an Object to Integer.

I am playing around with mobiaccess framework, but i am stuck when开发者_Go百科 i try to cast an Object to Integer.

Is it possible to cast in mobiaccess?

I tried to below code but it does not work:

var i:Integer =  (Integer) objectClass;


You can use the square bracket "[]" like this:

var i:Integer =  [Integer] objectClass;
0

精彩评论

暂无评论...
验证码 换一张
取 消