Share via


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 with get
function get WindowHandle () : IntPtr

Property Value

Type: IntPtr
The handle of this element.

.NET Framework Security

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace