Method Dispose Dispose() Releases all resources. Declaration public void Dispose() Implements System.IDisposable.Dispose()