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

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IAfxElement

.NET Framework Security

See Also

Reference

IUITestService Interface

IUITestService Members

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace