Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
Public MustOverride Function GetElementFromPoint ( _
pointX As Integer, _
pointY As Integer _
) As IUITechnologyElement
public abstract IUITechnologyElement GetElementFromPoint(
int pointX,
int pointY
)
public:
virtual IUITechnologyElement^ GetElementFromPoint(
int pointX,
int pointY
) abstract
abstract GetElementFromPoint :
pointX:int *
pointY:int -> IUITechnologyElement
public abstract 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.
Implements
IUITechnologyManager.GetElementFromPoint(Int32, Int32)
.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.