[]
Replaces the element at the specified index.
protected override void SetItem(int index, T item)
Protected Overrides Sub SetItem(index As Integer, item As T)
Type | Name | Description |
---|---|---|
int | index | The zero-based index of the element to replace. |
T | item | The new value for the element at the specified index. |
Type | Condition |
---|---|
InvalidOperationException | When the collection is locked. |
ArgumentOutOfRangeException | The assigned value of |
ArgumentNullException | When the |