OnSet is invoked before the standard Set behavior. For more information, see the OnSet method for CollectionBase.
index The index of System.Xml.Schema.XmlSchemaObject. oldValue The old value. newValue The new value.