Partager via


WebTestResultUnit.Passed Property

Gets a Boolean value that indicates whether the unit passed or failed.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Passed As Boolean
public abstract bool Passed { get; }
public:
virtual property bool Passed {
    bool get () abstract;
}
abstract Passed : bool with get
abstract function get Passed () : boolean

Property Value

Type: Boolean
true if the unit passed; otherwise, false.

.NET Framework Security

See Also

Reference

WebTestResultUnit Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace