StateManagedCollection.OnClearComplete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.