Udostępnij za pośrednictwem


Metoda UITechnologyManagerProxy.GetElementFromWindowHandle —

Pobiera element z uchwytu danego okna.

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

Składnia

'Deklaracja
Public Overrides Function GetElementFromWindowHandle ( _
    handle As IntPtr _
) As IUITechnologyElement
public override IUITechnologyElement GetElementFromWindowHandle(
    IntPtr handle
)
public:
virtual IUITechnologyElement^ GetElementFromWindowHandle(
    IntPtr handle
) override
abstract GetElementFromWindowHandle : 
        handle:IntPtr -> IUITechnologyElement 
override GetElementFromWindowHandle : 
        handle:IntPtr -> IUITechnologyElement 
public override function GetElementFromWindowHandle(
    handle : IntPtr
) : IUITechnologyElement

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
IUITechnologyElement z uchwyt okna.

Implementuje

IUITechnologyManager.GetElementFromWindowHandle(IntPtr)

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyManagerProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting