开发者

How can i cast an Object in mobiaccess?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜