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.
UITestControlFactory::FromWindowHandle Method (IntPtr)
Returns a new UITestControl from the specified window handle.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Parameters
- windowHandle
-
Type:
System::IntPtr
The window handle to use to create a new UITestControl.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting::UITestControl^A new UITestControl from the specified window handle.
Show: