Redigera

Dela via


StateManagedCollection.OnClearComplete Method

Definition

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

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

Remarks

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