共用方式為


ITestRunStatistics.Item Property (TestOutcome)

Gets the number of tests that have the specified outcome.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

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

Parameters

Property Value

Type: Int32
The number of tests that have the specified outcome.

.NET Framework Security

See Also

Reference

ITestRunStatistics Interface

Item Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

TestOutcome