Disposes of the Container.
[Visual Basic] Overridable Public Sub Dispose() [C#] public virtual void Dispose(); [C++] public: virtual void Dispose(); [JScript] public function Dispose();
None.
This method can be overridden by a derived class.
Notes to Implementers:
The implementation of Dispose must:
The preferred implementation is to return the Container to its initial state, as it was immediately after it was created.
Following a call to this method, a Container is permitted to raise exceptions for operations it can no longer perform.
Container Class | Container Members | System.ComponentModel Namespace