NativeWindow.FromHandle メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim handle As IntPtr Dim returnValue As NativeWindow returnValue = NativeWindow.FromHandle(handle)
戻り値
指定したハンドルに関連付けられている NativeWindow。ハンドルに関連付けられているウィンドウがない場合は、このメソッドは null 参照 (Visual Basic では Nothing) を返します。

別のメソッドからハンドルを受け取る場合は、このメソッドを使用して、そのハンドルに関連付けられているウィンドウを取得します。ハンドルは、現在のプロセス内の別の NativeWindow が既に所有している必要があります。それ以外の場合は、null 参照 (Visual Basic では Nothing) が返されます。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からNativeWindow.FromHandle メソッドを検索する場合は、下記のリンクをクリックしてください。

- NativeWindow.FromHandle メソッドのページへのリンク