UITechnologyManagerProxy.GetElementFromWindowHandle Method
Gets the element from the given window handle.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Function GetElementFromWindowHandle ( _
handle As IntPtr _
) As IUITechnologyElement
public override IUITechnologyElement GetElementFromWindowHandle(
IntPtr handle
)
public:
virtual IUITechnologyElement^ GetElementFromWindowHandle(
IntPtr handle
) override
abstract GetElementFromWindowHandle :
handle:IntPtr -> IUITechnologyElement
override GetElementFromWindowHandle :
handle:IntPtr -> IUITechnologyElement
public override function GetElementFromWindowHandle(
handle : IntPtr
) : IUITechnologyElement
Parameters
handle
Type: IntPtrThe window handle.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The IUITechnologyElement from the window handle.
Implements
IUITechnologyManager.GetElementFromWindowHandle(IntPtr)
.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.