Releases all resources used by this Icon.
public: virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit override this.Dispose : unit -> unit
Public Sub Dispose ()
Dispose allows the resources that are used by this Icon to be reallocated for other purposes.