Interface IDisposable
Defines a method to release allocated resources.
Namespace: System
Assembly: mscorlib.dll
Syntax
public interface IDisposable
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
void Dispose()