Method Dispose Dispose() Releases all the resources used by the enumerator. Declaration public void Dispose() Implements IDisposable.Dispose()