IUITechnologyManager.GetElementFromPoint(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索位于给定屏幕坐标位置的元素。
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 坐标。
返回
提供的位置处的元素。
- 属性