View. Dispose(Boolean) Method
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.
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.