System::Collections::IList 类

IList class

IList Represents a non-generic collection of objects that can be individually accessed by index.

class IList : public virtual System::Collections::ICollection

方法

方法描述
virtual Add(SharedPtr<System::Object>)将项目添加到列表的末尾。
virtual Clear()从列表中移除所有项目。
virtual Contains(SharedPtr<System::Object>) const检查该项目是否在列表中。
virtual get_IsFixedSize() const获取一个值,指示列表是否具有固定大小。
virtual idx_get(int, int) constRTTI 信息。
virtual IndexOf(SharedPtr<System::Object>) const获取指定项目的第一个索引。
virtual Insert(int, SharedPtr<System::Object>)在指定索引处将项目插入到列表中。
virtual Remove(SharedPtr<System::Object>)从列表中移除指定项目的第一个实例。
virtual RemoveAt(int)在指定索引处从列表中移除项目。

另见