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
- 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.