Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public virtual void Dispose()
Public Overridable Sub Dispose
public: virtual void Dispose()
public void Dispose()