StateManagedCollection.OnClearComplete Method


When overridden in a derived class, performs additional work after the Clear() method finishes removing all items from the collection.

 virtual void OnClearComplete();
protected virtual void OnClearComplete ();
abstract member OnClearComplete : unit -> unit
override this.OnClearComplete : unit -> unit
Protected Overridable Sub OnClearComplete ()


Collections derived from StateManagedCollection can override the OnClearComplete method to perform any additional work after all items are removed from the collection using the Clear method.

Applies to

See also