Partager via


UITestControl.WindowHandle Property

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  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

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace