This documentation is archived and is not being maintained.

UITechnologyManager.GetElementFromWindowHandle Method

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.

Implements

IUITechnologyManager.GetElementFromWindowHandle(IntPtr)

Show: