Partilhar via


Método UITechnologyManagerProxy.GetElementFromPoint

Obtém o elemento dadas as coordenadas da tela.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (em Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxe

'Declaração
Public Overrides Function GetElementFromPoint ( _
    pointX As Integer, _
    pointY As Integer _
) As IUITechnologyElement
public override IUITechnologyElement GetElementFromPoint(
    int pointX,
    int pointY
)
public:
virtual IUITechnologyElement^ GetElementFromPoint(
    int pointX, 
    int pointY
) override
abstract GetElementFromPoint : 
        pointX:int * 
        pointY:int -> IUITechnologyElement 
override GetElementFromPoint : 
        pointX:int * 
        pointY:int -> IUITechnologyElement 
public override function GetElementFromPoint(
    pointX : int, 
    pointY : int
) : IUITechnologyElement

Parâmetros

  • pointX
    Tipo: System.Int32
    A coordenada x do local da tela.
  • pointY
    Tipo: System.Int32
    A coordenada y do local da tela.

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O IUITechnologyElement em coordenadas da tela especificadas.

Implementações

IUITechnologyManager.GetElementFromPoint(Int32, Int32)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManagerProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting