Partager via


UITechnologyManager.GetElementFromNativeElement Method

Returns an element from this technology that corresponds to the provided native element.

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

Syntax

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

Parameters

  • nativeElement
    Type: Object

    An Object that represents a native element such as IAccessible.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The element in the technology that is represented by this manager.

Implements

IUITechnologyManager.GetElementFromNativeElement(Object)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace