## IList::Insert method


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

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


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

## 另见

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