## IList::Insert method


在指定索引处将项目插入到列表中。

```cpp
virtual void System::Collections::IList::Insert(int index, SharedPtr<System::Object> item)=0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 索引 | int | 要插入项的索引。 |
| 项 | SharedPtr\<System::Object\> | 要插入的项。 |

## 另见

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