## IList::Insert method


在指定位置插入元素，后面的元素向后移动。

```cpp
virtual void System::Collections::Generic::IList<T>::Insert(int index, const T &item)=0
```


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

## 另见

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