The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyManager::GetElementFromWindowHandle Method (IntPtr)
Retrieves the element that is identified by the provided window handle.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: virtual IUITechnologyElement^ GetElementFromWindowHandle( IntPtr handle ) abstract
Parameters
- handle
-
Type:
System::IntPtr
An IntPtr that identifies an existing element.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^The specified element.
Show: