## IList::Add method


Adds item to the end of list.

```cpp
virtual int System::Collections::IList::Add(SharedPtr<System::Object> item)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | SharedPtr\<System::Object\> | The item to add. |

### ReturnValue

The index of the added item.

## See Also

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