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
override Exists : bool
function get Exists () : boolean

Property Value

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

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace