## Collection::Insert method


在指定位置插入项目。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 索引 | int | 要插入项的索引。 |
| item | const T\& | 要插入到指定位置的项。 |

## 另见

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