AutomationElement.FromHandle(IntPtr) 메서드
정의
지정된 창 핸들에서 참조하는 UI(사용자 인터페이스)user interface (UI) 항목의 새 AutomationElement 개체를 검색합니다.Retrieves a new AutomationElement object for the UI(사용자 인터페이스)user interface (UI) item referenced by the specified window handle.
public:
static System::Windows::Automation::AutomationElement ^ FromHandle(IntPtr hwnd);
public static System.Windows.Automation.AutomationElement FromHandle (IntPtr hwnd);
static member FromHandle : nativeint -> System.Windows.Automation.AutomationElement
Public Shared Function FromHandle (hwnd As IntPtr) As AutomationElement
매개 변수
- hwnd
- IntPtr
UIUI 요소의 핸들입니다.The handle of the UIUI element.
반환
AutomationElement로 식별되는 UIUI 항목의 hwnd
입니다.An AutomationElement for the UIUI item identified by hwnd
.