## Collection::Insert method


在指定位置插入项目。

```cpp
void System::Collections::ObjectModel::Collection<T>::Insert(int index, const T &item) override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 索引 | int | 要插入项目的索引。 |
| 项 | const T\& | 要插入到指定位置的项目。 |

## 另见

* Class [Collection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.Font for C++](../../../)
