Share via


TestElement.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
<GroupingPropertyAttribute> _
<UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")> _
<PropertyWindowAttribute> _
Public Overridable Property Enabled As Boolean
[GroupingPropertyAttribute]
[UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")]
[PropertyWindowAttribute]
public virtual bool Enabled { get; set; }
[GroupingPropertyAttribute]
[UserVisiblePropertyAttribute(L"{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")]
[PropertyWindowAttribute]
public:
virtual property bool Enabled {
    bool get ();
    void set (bool value);
}
[<GroupingPropertyAttribute>]
[<UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")>]
[<PropertyWindowAttribute>]
abstract Enabled : bool with get, set
[<GroupingPropertyAttribute>]
[<UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")>]
[<PropertyWindowAttribute>]
override Enabled : bool with get, set
function get Enabled () : boolean 
function set Enabled (value : boolean)

Property Value

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

Implements

ITestElement.Enabled

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace