ListView::Dispose Method (Boolean)

 
Use BaseTrue

Releases the unmanaged resources used by the ListView and optionally releases the managed resources.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void Dispose(
	bool disposing
) override

Parameters

disposing
Type: System::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.

.NET Framework
Available since 1.1
Return to top
Show: