RunResultAndStatistics.Item Property

Gets the number of tests in the associated test run that had the specified outcome.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    outcome As TestOutcome _
) As Integer
public int this[
    TestOutcome outcome
] { get; }
public:
property int default[TestOutcome outcome] {
    int get (TestOutcome outcome);
}
member Item : 
        outcome:TestOutcome -> int with get
JScript does not support indexed properties.

Parameters

Property Value

Type: Int32
The number of tests in the associated test run that had the specified outcome.

.NET Framework Security

See Also

Reference

RunResultAndStatistics Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome