## IList::Insert method


Inserts the item to the list at the specified index.

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


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | The index to insert the item into. |
| item | SharedPtr\<System::Object\> | The item to insert. |

## See Also

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