Share via


UITechnologyElementProxy.WindowHandle Property

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

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property WindowHandle As IntPtr
public override IntPtr WindowHandle { get; }
public:
virtual property IntPtr WindowHandle {
    IntPtr get () override;
}
abstract WindowHandle : IntPtr with get 
override WindowHandle : IntPtr with get
override function get WindowHandle () : IntPtr

Property Value

Type: IntPtr

Implements

IUITechnologyElement.WindowHandle

.NET Framework Security

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace