Mono Class Library: System.Collections.DictionaryBase Overview | Members

System.Collections.DictionaryBase.OnSet Method

Hook invoked before changing a value for a key in the DictionaryBase.

protected virtual void OnSet (object key, object oldValue, object newValue)

Parameters

key
Key of the object to change
oldValue
Documentation for this section has not yet been entered.
newValue
Documentation for this section has not yet been entered.

Remarks

Derived classes can override this method and perform some action before the current_value is changed in the dictionary.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0