This documentation is archived and is not being maintained.

Container.Dispose Method

Releases the resources used by the Container.

Overload List

Releases all resources used by the Container.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Sub Dispose() Implements IDisposable.Dispose
[C#] public virtual void Dispose();
[C++] public: virtual void Dispose();
[JScript] public function Dispose();

Releases the unmanaged resources used by the Container and optionally releases the managed resources.

[Visual Basic] Overloads Protected Overridable Sub Dispose(Boolean)
[C#] protected virtual void Dispose(bool);
[C++] protected: virtual void Dispose(bool);
[JScript] protected function Dispose(Boolean);

See Also

Container Class | Container Members | System.ComponentModel Namespace

Show: