[]
Performs additional custom processes before setting a value in the CollectionBase instance.
protected override void OnSet(int index, object oldValue, object newValue)
Protected Overrides Sub OnSet(index As Integer, oldValue As Object, newValue As Object)
Type | Name | Description |
---|---|---|
int | index | The zero-based index at which oldValue can be found. |
object | oldValue | The value to replace with newValue. |
object | newValue | The new value of the element at index. |