阵VS ArrayCollection的Flex中 [英] Array Vs ArrayCollection in Flex

查看:162
本文介绍了阵VS ArrayCollection的Flex中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何一个可以解释的阵列和ArrayCollection的Flex中?

Can any one Explain the Difference between the Array and ArrayCollection in Flex?

推荐答案

由于每LiveDocs中

As per the liveDocs

ArrayCollection类是包装   将Array公开为一类   集合,可以进行访问和   使用方法操纵和   ICollectionView的属性或   IList的接口。在操作   ArrayCollection的情况下修改   数据源;例如,如果使用   上的removeItemAt()方法   ArrayCollection的,你删除的项   从底层阵列

The ArrayCollection class is a wrapper class that exposes an Array as a collection that can be accessed and manipulated using the methods and properties of the ICollectionView or IList interfaces. Operations on a ArrayCollection instance modify the data source; for example, if you use the removeItemAt() method on an ArrayCollection, you remove the item from the underlying Array.

因此​​,其实它们是相同的,但一有更多的属性和方法。

So really they're the same, but one has more properties and methods.

这篇关于阵VS ArrayCollection的Flex中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆