Sdílet prostřednictvím


RunResultAndStatistics.Item[TestOutcome] Property

Definition

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

public:
 property int default[Microsoft::VisualStudio::TestTools::Common::TestOutcome] { int get(Microsoft::VisualStudio::TestTools::Common::TestOutcome outcome); };
public int this[Microsoft.VisualStudio.TestTools.Common.TestOutcome outcome] { get; }
member this.Item(Microsoft.VisualStudio.TestTools.Common.TestOutcome) : int
Default Public ReadOnly Property Item(outcome As TestOutcome) As Integer

Parameters

outcome
TestOutcome

One of the TestOutcome values.

Property Value

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

Applies to