Icon.GetHicnFromIcon Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a pointer to an Icon.

Namespace: System.Drawing
Assembly: System.Drawing (in system.drawing.dll)

Syntax

'Declaration
Public Shared Function GetHicnFromIcon ( _
    icn As Icon _
) As IntPtr
'Usage
Dim icn As Icon
Dim value As IntPtr

value = Icon.GetHicnFromIcon(icn)
public static IntPtr GetHicnFromIcon (
    Icon icn
)
public:
static IntPtr GetHicnFromIcon (
    Icon^ icn
)
public static IntPtr GetHicnFromIcon (
    Icon icn
)
public static function GetHicnFromIcon (
    icn : Icon
) : IntPtr
Not applicable.

Parameters

  • icn

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 1.0

See Also

Reference

Icon Class
Icon Members
System.Drawing Namespace