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