## ListImpl class


提供访问集合中元素的接口。

```cpp
class ListImpl : public System::Object
```

## 方法

| 方法 | 描述 |
| --- | --- |
| [Add](./add/)(const T\&) | 在集合的末尾添加一个元素。 |
| [Contains](./contains/)(const T\&) | 确定集合是否包含特定元素。 |
| [CopyTo](./copyto/)(const ArrayPtr\<T\>\&, int32_t) | 将整个集合复制到兼容的一维 [Array](../../../system/array/)，从目标数组的指定索引开始。 |
| [idx_get](./idx_get/)(int32_t) | 返回指定索引处的元素。 |
| [idx_set](./idx_set/)(int32_t, T) | 设置指定索引处的元素。 |
| [IndexOf](./indexof/)(const T\&) | 搜索指定元素并返回其在整个集合中首次出现的零基索引。 |
| [Insert](./insert/)(int32_t, const T\&) | 在指定索引处向集合插入元素。 |
| [Remove](./remove/)(const T\&) | 从集合中移除特定元素的第一次出现。 |
## Typedefs

| 类型定义 | 描述 |
| --- | --- |
| [Ptr](./ptr/) | 此类实例的共享指针别名。 |
## 另见

* Class [Object](../../../system/object/)
* Class [CollectionBase](../)
* Namespace [System::Collections](../../)
* Library [Aspose.Font for C++](../../../)
