UITestControl.Desktop Property
Gets the UI Control for the desktop.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared ReadOnly Property Desktop As UITestControl
public static UITestControl Desktop { get; }
public:
static property UITestControl^ Desktop {
UITestControl^ get ();
}
static member Desktop : UITestControl with get
static function get Desktop () : UITestControl
Property Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UI Control for the desktop.
.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.