NativeWindow.FromHandle(IntPtr) 메서드

정의

지정된 핸들과 연결된 창을 검색합니다.

public:
 static System::Windows::Forms::NativeWindow ^ FromHandle(IntPtr handle);
public static System.Windows.Forms.NativeWindow FromHandle (IntPtr handle);
public static System.Windows.Forms.NativeWindow? FromHandle (IntPtr handle);
static member FromHandle : nativeint -> System.Windows.Forms.NativeWindow
Public Shared Function FromHandle (handle As IntPtr) As NativeWindow

매개 변수

handle
IntPtr

nativeint

창에 대한 핸들입니다.

반환

NativeWindow

지정된 핸들과 연결된 NativeWindow입니다. 핸들이 창과 연결되어 있지 않을 경우 이 메서드는 null을 반환합니다.

설명

핸들을 다른 메서드에서 표시 되 면 검색 된 핸들과 연결 된 창에이 메서드를 사용 합니다. 핸들을 소유 하 여 다른로 이미 있어야 합니다 NativeWindow 현재에서 고, 그렇지 않으면 프로세스 null 반환 됩니다.

적용 대상

추가 정보