Sdílet prostřednictvím


TestElement.Enabled – vlastnost

Získá nebo nastaví hodnotu, která označuje, zda tento prvek testu je povoleno.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
<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)

Hodnota vlastnosti

Typ: Boolean
true Pokud tento prvek testu je povoleno; jinak false.

Implementuje

ITestElement.Enabled

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

TestElement Třída

Microsoft.VisualStudio.TestTools.Common – obor názvů