Share via


UITechnologyElement.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
Public MustOverride ReadOnly Property WindowHandle As IntPtr
public abstract IntPtr WindowHandle { get; }
public:
virtual property IntPtr WindowHandle {
    IntPtr get () abstract;
}
abstract WindowHandle : IntPtr
abstract function get WindowHandle () : IntPtr

Property Value

Type: System.IntPtr
The handle of this element.

Implements

IUITechnologyElement.WindowHandle

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IntPtr