
## InsertItem {#insertitem}

Inserts an element into the T:System::Collections::ObjectModel::Collection`1 at the specified index.

**Returns:** void Aspose::Email::

```cpp
InsertItem(int32_t index, const System::SharedPtr < MailAddress > & item)
```

| Parameter | Description |
| --- | --- |
| index | The zero-based index at which item should be inserted. |
| item | The object to insert. The value can be null for reference types. |

