IUITestService.GetElementFromWindowHandle Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Function GetElementFromWindowHandle ( _
handle As IntPtr _
) As IAfxElement
'Usage
Dim instance As IUITestService
Dim handle As IntPtr
Dim returnValue As IAfxElement
returnValue = instance.GetElementFromWindowHandle(handle)
IAfxElement GetElementFromWindowHandle(
IntPtr handle
)
IAfxElement^ GetElementFromWindowHandle(
IntPtr handle
)
function GetElementFromWindowHandle(
handle : IntPtr
) : IAfxElement
abstract GetElementFromWindowHandle :
handle:IntPtr -> IAfxElement
Parameters
- handle
Type: System.IntPtr
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IAfxElement
.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.