Udostępnij za pośrednictwem


Właściwość ITestElement.Enabled —

Zwraca lub ustawia wartość, która wskazuje, czy element ten test jest włączony.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Property Enabled As Boolean
bool Enabled { get; set; }
property bool Enabled {
    bool get ();
    void set (bool value);
}
abstract Enabled : bool with get, set
function get Enabled () : boolean
function set Enabled (value : boolean)

Wartość właściwości

Typ: System.Boolean
true Jeśli element ten test jest włączony; w przeciwnym razie false.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ITestElement Interfejs

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common