Share via


ITestElement.Enabled Property

Gets or sets a value that indicates whether this test element is enabled.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Property Enabled As Boolean
'Usage
Dim instance As ITestElement 
Dim value As Boolean 

value = instance.Enabled

instance.Enabled = value
bool Enabled { get; set; }
property bool Enabled {
    bool get ();
    void set (bool value);
}
function get Enabled () : boolean 
function set Enabled (value : boolean)

Property Value

Type: System.Boolean
true if this test element is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

ITestElement Interface

ITestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace