Control.FromHandle(IntPtr) 메서드

정의

지정된 핸들과 연결된 컨트롤을 반환합니다.

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

매개 변수

handle
IntPtr

nativeint

검색할 창 핸들(HWND)입니다.

반환

Control

지정된 핸들과 연결된 컨트롤을 나타내는 Control입니다. 지정된 핸들이 있는 컨트롤이 없으면 null을 반환합니다.

설명

FromChildHandle 둘 이상의 핸들을 소유한 컨트롤을 반환해야 하는 경우 이 메서드를 사용합니다.

적용 대상

추가 정보