[This is preliminary documentation and subject to change.]
Provides a placeholder for derived classes to implement validation logic when replacing an item in the associated collection.
[Visual Basic] Overridable Public Sub OnSet( _ ByVal collection As CollectionBase, _ ByVal index As Integer, _ ByVal oldValue As Object, _ ByVal newValue As Object _ ) _