UITestControl.WindowHandle Property
Gets the window handle for this control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property WindowHandle As IntPtr
public virtual IntPtr WindowHandle { get; }
public:
virtual property IntPtr WindowHandle {
IntPtr get ();
}
abstract WindowHandle : IntPtr with get
override WindowHandle : IntPtr with get
function get WindowHandle () : IntPtr
Property Value
Type: IntPtr
The window handle for this control.
.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.