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
outcome
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcomeOne of the TestOutcome values.
Property Value
Type: Int32
The number of tests in the associated test run that had the specified outcome.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.