Udostępnij za pośrednictwem


Metoda UITechnologyManagerProxy.GetElementFromPoint —

Pobiera element współrzędne ekranu.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
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

Parametry

  • pointY
    Typ: System.Int32
    Współrzędna y położenie na ekranie.

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
IUITechnologyElement na współrzędnych ekranu określony.

Implementuje

IUITechnologyManager.GetElementFromPoint(Int32, Int32)

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyManagerProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting