Brush::Dispose Method ()
.NET Framework (current version)
Releases all resources used by this Brush object.
Assembly: System.Drawing (in System.Drawing.dll)
Calling Dispose allows the resources used by this Brush object to be reallocated for other purposes.
Call Dispose when you are finished using the Brush. The Dispose method leaves the Brush in an unusable state. After calling Dispose, you must release all references to the Brush so the garbage collector can reclaim the memory that the Brush was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.
.NET Framework
Available since 1.1
Available since 1.1
Show:
