## IList::Add method


将项目添加到列表的末尾。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 项 | SharedPtr\<System::Object\> | 要添加的项。 |

### ReturnValue

已添加项的索引。

## 另见

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