IUITechnologyManager.GetElementFromPoint(Int32, Int32) 方法

定义

检索位于给定屏幕坐标位置的元素。

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

参数

pointX
Int32

屏幕位置的 x 坐标。

pointY
Int32

屏幕位置的 y 坐标。

返回

IUITechnologyElement

提供的位置处的元素。

属性

适用于