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