[]
Replaces the element at the specified index.
protected override void SetItem(int index, BaseGroup item)
Protected Overrides Sub SetItem(index As Integer, item As BaseGroup)
| Type | Name | Description |
|---|---|---|
| int | index | The zero-based index of the element to replace. |
| BaseGroup | item | The new value for the element at the specified index. 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. |