Freigeben über


UITestControl.Exists-Eigenschaft

Ruft einen Wert ab, der angibt, ob dieses Steuerelement in der Benutzeroberfläche vorhanden ist.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Exists As Boolean
    Get
public virtual bool Exists { get; }
public:
virtual property bool Exists {
    bool get ();
}
abstract Exists : bool
override Exists : bool
function get Exists () : boolean

Eigenschaftswert

Typ: System.Boolean
true, wenn dieses Steuerelement vorhanden ist, andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControl Klasse

Microsoft.VisualStudio.TestTools.UITesting-Namespace