アイコン (HICON) を識別する指定の Windows ハンドルから GDI+ Icon オブジェクトを作成します。
Public Shared Function FromHandle( _
ByVal handle As IntPtr _) As Icon
[C#]
public static Icon FromHandle(IntPtrhandle);
[C++]
public: static Icon* FromHandle(IntPtrhandle);
[JScript]
public static function FromHandle(
handle : IntPtr) : Icon;
パラメータ
- handle
アイコンを識別する Windows ハンドル。
戻り値
このメソッドが作成する Icon オブジェクト。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ