DataGridView.Dispose Method (Boolean)

 

Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

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

override Dispose : 
        disposing:bool -> unit

Parameters

disposing
Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: