Freigeben über


TestElement.IsValid-Methode

Gibt einen Wert zurück, der angibt, ob dieses Testelement gültig ist.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Function IsValid As Boolean
public bool IsValid()
public:
virtual bool IsValid() sealed
abstract IsValid : unit -> bool  
override IsValid : unit -> bool
public final function IsValid() : boolean

Rückgabewert

Typ: Boolean
true, wenn dieses Testelement gültig ist, andernfalls false.

Implementiert

IVerifiable.IsValid()

.NET Framework-Sicherheit

Siehe auch

Referenz

TestElement Klasse

Microsoft.VisualStudio.TestTools.Common-Namespace