IUITechnologyElement.WindowHandle Property

Gets the handle to the Win32 window that contains this element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
ReadOnly Property WindowHandle As IntPtr
IntPtr WindowHandle { get; }
property IntPtr WindowHandle {
    IntPtr get ();
}
abstract WindowHandle : IntPtr
function get WindowHandle () : IntPtr

Property Value

Type: System.IntPtr
The handle of this element.

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace