Share via


UITechnologyManager.GetElementFromWindowHandle(IntPtr) Method

Definition

Retrieves the element that is identified by the provided window handle.

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromWindowHandle(IntPtr handle);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromWindowHandle (IntPtr handle);
abstract member GetElementFromWindowHandle : nativeint -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride Function GetElementFromWindowHandle (handle As IntPtr) As IUITechnologyElement

Parameters

handle
IntPtr

nativeint

An IntPtr that identifies an existing element.

Returns

The specified element.

Implements

Applies to