Share via


IUITechnologyManager.GetElementFromWindowHandle(IntPtr) Method

Definition

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

public:
 Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromWindowHandle(IntPtr handle);
[System.Runtime.InteropServices.DispId(6)]
public Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromWindowHandle (IntPtr handle);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member GetElementFromWindowHandle : nativeint -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Function GetElementFromWindowHandle (handle As IntPtr) As IUITechnologyElement

Parameters

handle
IntPtr

nativeint

An IntPtr that identifies an existing element.

Returns

The specified element.

Attributes

Applies to