Partilhar via


Método UITechnologyManagerProxy.GetElementFromNativeElement

Obtém o elemento do elemento subjacente () nativo dado da tecnologia.

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

Sintaxe

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

Parâmetros

  • nativeElement
    Tipo: System.Object
    O elemento nativo de tecnologia (como IAccessible).

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O IUITechnologyElement do elemento nativo.

Implementações

IUITechnologyManager.GetElementFromNativeElement(Object)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManagerProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting

NativeElement