UITestControl.Exists Property

Gets a value that indicates whether this control exists on the user interface.

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
public virtual bool Exists { get; }
public:
virtual property bool Exists {
    bool get ();
}
abstract Exists : bool with get 
override Exists : bool with get
function get Exists () : boolean

Property Value

Type: Boolean
true if this control exists; otherwise, false.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace