Condividi tramite


Metodo UITechnologyManagerProxy.GetElementFromWindowHandle

Ottiene l'elemento da handle della finestra specificato.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

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

Parametri

  • handle
    Tipo: IntPtr

    Handle di finestra.

Valore restituito

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Lo IUITechnologyElement handle della finestra.

Implementa

IUITechnologyManager.GetElementFromWindowHandle(IntPtr)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITechnologyManagerProxy Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting