UITechnologyManagerProxy.GetElementFromNativeElement Method
Gets the element from the given native (underlying) technology element.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
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
Parameters
nativeElement
Type: ObjectThe native technology element (like IAccessible).
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The IUITechnologyElement from the native element.
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.
See Also
Reference
UITechnologyManagerProxy Class