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> _
<PropertyWindowAttribute> _
<UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")> _
Public Overridable Property Enabled As Boolean
'Usage
Dim instance As TestElement 
Dim value As Boolean 

value = instance.Enabled

instance.Enabled = value
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute("{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")]
public virtual bool Enabled { get; set; }
[GroupingPropertyAttribute]
[PropertyWindowAttribute]
[UserVisiblePropertyAttribute(L"{376F2C59-87E5-416d-8109-7B40DEAA2EF5}")]
public:
virtual property bool Enabled {
    bool get ();
    void set (bool value);
}
public function get Enabled () : boolean 
public function set Enabled (value : boolean)

Property Value

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

Implements

ITestElement.Enabled

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace