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) const | RTTI 信息。 |
| virtual IndexOf(SharedPtr<System::Object>) const | 获取指定项目的第一个索引。 |
| virtual Insert(int, SharedPtr<System::Object>) | 在指定索引处将项目插入到列表中。 |
| virtual Remove(SharedPtr<System::Object>) | 从列表中移除指定项目的第一个实例。 |
| virtual RemoveAt(int) | 在指定索引处从列表中移除项目。 |
另见
- Class ICollection
- Namespace System::Collections
- Library Aspose.Font for C++