Método UITechnologyManager.GetElementFromNativeElement

Retorna um elemento com esta tecnologia que corresponde ao elemento nativo fornecido.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (em Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintaxe

'Declaração
Public MustOverride Function GetElementFromNativeElement ( _
    nativeElement As Object _
) As IUITechnologyElement
public abstract IUITechnologyElement GetElementFromNativeElement(
    Object nativeElement
)
public:
virtual IUITechnologyElement^ GetElementFromNativeElement(
    Object^ nativeElement
) abstract
abstract GetElementFromNativeElement : 
        nativeElement:Object -> IUITechnologyElement 
public abstract function GetElementFromNativeElement(
    nativeElement : Object
) : IUITechnologyElement

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O elemento na tecnologia que é representado por este gerenciador.

Implementações

IUITechnologyManager.GetElementFromNativeElement(Object)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManager Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension