Share via


IUITechnologyManager.GetElementFromPoint(Int32, Int32) Method

Definition

Retrieves the element that is located at the given screen coordinates.

public:
 Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromPoint(int pointX, int pointY);
[System.Runtime.InteropServices.DispId(7)]
public Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromPoint (int pointX, int pointY);
[<System.Runtime.InteropServices.DispId(7)>]
abstract member GetElementFromPoint : int * int -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Function GetElementFromPoint (pointX As Integer, pointY As Integer) As IUITechnologyElement

Parameters

pointX
Int32

The x coordinate of the screen location.

pointY
Int32

The y coordinate of the screen location.

Returns

The element at the provided location.

Attributes

Applies to