This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Retrieves the element that is located at the given screen coordinates.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Function GetElementFromPoint ( _
pointX As Integer, _
pointY As Integer _
) As IUITechnologyElement
IUITechnologyElement GetElementFromPoint(
int pointX,
int pointY
)
IUITechnologyElement^ GetElementFromPoint(
int pointX,
int pointY
)
abstract GetElementFromPoint :
pointX:int *
pointY:int -> IUITechnologyElement
function GetElementFromPoint(
pointX : int,
pointY : int
) : IUITechnologyElement
Parameters
pointX
Type: Int32The x coordinate of the screen ___location.
pointY
Type: Int32The y coordinate of the screen ___location.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The element at the provided ___location.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IUITechnologyManager Interface