Dispose Method Dispose() Declaration public void Dispose() Implements IDisposable.Dispose() Dispose(Boolean) Disposes resources. Declaration protected virtual void Dispose(bool disposing) Parameters Boolean disposing true when disposing deterministically.