Method Dispose Dispose() Provides a mechanism for releasing unmanaged resources. Declaration public virtual void Dispose() Implements IDisposable.Dispose()