Share via


RunResultAndStatistics.HasPassed Property

Gets a value that indicates whether all tests in the associated test run have successfully passed.

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

Syntax

'Declaration
Public ReadOnly Property HasPassed As Boolean
public bool HasPassed { get; }
public:
property bool HasPassed {
    bool get ();
}
member HasPassed : bool with get
function get HasPassed () : boolean

Property Value

Type: Boolean
true if all tests in the associated test run have successfully passed; otherwise, false.

.NET Framework Security

See Also

Reference

RunResultAndStatistics Class

Microsoft.VisualStudio.TestTools.Common Namespace