Share via


IUITechnologyManager.GetElementFromNativeElement Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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
Function GetElementFromNativeElement ( _
    nativeElement As Object _
) As IUITechnologyElement
IUITechnologyElement GetElementFromNativeElement(
    Object nativeElement
)
IUITechnologyElement^ GetElementFromNativeElement(
    Object^ nativeElement
)
abstract GetElementFromNativeElement : 
        nativeElement:Object -> IUITechnologyElement
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.

.NET Framework Security

See Also

Reference

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace