Partilhar via


Método UITechnologyManagerProxy.GetElementFromWindowHandle

Obtém o elemento do identificador de janela dado.

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

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O IUITechnologyElement identificador de janela.

Implementações

IUITechnologyManager.GetElementFromWindowHandle(IntPtr)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManagerProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting