System.Windows.Forms.ListView.Dispose Method

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

Syntax

protected override void Dispose (bool disposing)

Parameters

disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

Call the erload:System.Windows.Forms.ListView.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.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0