TestElement.IsValid Method
Returns a value that indicates whether this test element is valid.
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
Return Value
Type: Boolean
true if this test element is valid; otherwise, false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.