DataGridViewBand.Dispose Method ()
Releases all resources used by the DataGridViewBand.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Call DataGridViewBand. The method leaves the DataGridViewBand in an unusable state. After calling , you must release all references to the DataGridViewBand so the garbage collector can reclaim the memory that the DataGridViewBand was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.when you are finished using the
Available since 2.0