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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.