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
- 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.