System.Drawing.Icon.Dispose Method

Releases all resources used by this System.Drawing.Icon.

Syntax

public void Dispose ()

Returns

This method does not return a value.

Remarks

Calling Dispose allows the resources that are used by this System.Drawing.Icon to be reallocated for other purposes.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0