Information
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.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract IUITechnologyElement GetElementFromWindowHandle(
	IntPtr handle
)

Parameters

handle
Type: System.IntPtr

An IntPtr that identifies an existing element.

Return to top
Show: