Icon.FromHandle

Icon.FromHandle method

Creates a GDI+ Icon from the specified Windows handle to an icon (HICON).

public static Icon FromHandle(IntPtr handle)
ParameterTypeDescription
handleIntPtrA Windows handle to an icon.

Return Value

The Icon this method creates.

See Also