TestElement.Enabled (Propiedad)

Obtiene o establece un valor que indica si este elemento de prueba está habilitado.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Common
Ensamblado:  Microsoft.VisualStudio.QualityTools.Common (en Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxis

'Declaración
<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)

Valor de propiedad

Tipo: System.Boolean
Es true si este elemento de prueba está habilitado; de lo contrario, es false.

Implementaciones

ITestElement.Enabled

Seguridad de .NET Framework

Vea también

Referencia

TestElement Clase

Microsoft.VisualStudio.TestTools.Common (Espacio de nombres)