Udostępnij za pośrednictwem


Metoda IUITechnologyManager.GetElementFromWindowHandle —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Pobiera element, który jest identyfikowany przez uchwyt okna dostarczone.

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

Składnia

'Deklaracja
Function GetElementFromWindowHandle ( _
    handle As IntPtr _
) As IUITechnologyElement
IUITechnologyElement GetElementFromWindowHandle(
    IntPtr handle
)
IUITechnologyElement^ GetElementFromWindowHandle(
    IntPtr handle
)
abstract GetElementFromWindowHandle : 
        handle:IntPtr -> IUITechnologyElement 
function GetElementFromWindowHandle(
    handle : IntPtr
) : IUITechnologyElement

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Określony element.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IUITechnologyManager Interfejs

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Extension