DataGridViewCell.Dispose Method ()
Releases all resources used by the DataGridViewCell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Call DataGridViewCell. The method leaves the DataGridViewCell in an unusable state. After calling , you must release all references to the DataGridViewCell so the garbage collector can reclaim the memory that the DataGridViewCell 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