Disposes of the component. Call dispose 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.
[Visual Basic] Overridable Public Sub Dispose() [C#] public virtual void Dispose(); [C++] public: virtual void Dispose(); [JScript] public function Dispose();
MarshalByRefComponent Class | MarshalByRefComponent Members | System.ComponentModel Namespace