[]
Inserts an item into the collection at the specified index.
protected override void InsertItem(int index, T item)
Protected Overrides Sub InsertItem(index As Integer, item As T)
Type | Name | Description |
---|---|---|
int | index | The zero-based index at which item should be inserted. |
T | item | The object to insert. |
Type | Condition |
---|---|
InvalidOperationException | When the collection is locked. |
ArgumentOutOfRangeException | When the |
ArgumentNullException | When the |