Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyManager.GetElementFromNativeElement Method (Object)

 

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)

public abstract IUITechnologyElement GetElementFromNativeElement(
	object nativeElement
)

Parameters

nativeElement
Type: System.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.

Return to top
Show: