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: ObjectAn 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.