[]
Inserts an element into the System.Collections.ObjectModel.Collection<T> at the specified index.
protected override void InsertItem(int index, BaseGroup item)
Type | Name | Description |
---|---|---|
int | index | The zero-based index at which item should be inserted. |
BaseGroup | item | The object to insert. The value can be null for reference types. |
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count. |