View. Dispose(Boolean) Method
Releases the unmanaged resources used by the ListView and optionally releases the managed resources.
protected: override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)
true to release both managed and unmanaged resources;
false to release only unmanaged resources.
Call the Dispose method when the component is no longer needed. This method removes the component from its container (if the component has a site) and triggers the dispose event.