TestResult.HasPassed Property
Gets a value that indicates whether the associated test for this test result successfully executed.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<VisiblePropertyAttribute> _
Public Overridable ReadOnly Property HasPassed As Boolean
[VisiblePropertyAttribute]
public virtual bool HasPassed { get; }
[VisiblePropertyAttribute]
public:
virtual property bool HasPassed {
bool get ();
}
[<VisiblePropertyAttribute>]
abstract HasPassed : bool with get
[<VisiblePropertyAttribute>]
override HasPassed : bool with get
function get HasPassed () : boolean
Property Value
Type: Boolean
true if the associated test for this test result successfully executed; otherwise, false.
.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.