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