TestResultCounter.Item Property
Gets or sets the count for the test outcome at the specified index.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Default Property Item ( _
index As TestOutcome _
) As Integer
public int this[
TestOutcome index
] { get; set; }
public:
property int default[TestOutcome index] {
int get (TestOutcome index);
void set (TestOutcome index, int value);
}
member Item :
index:TestOutcome -> int with get, set
JScript does not support indexed properties.
Parameters
index
Type: Microsoft.VisualStudio.TestTools.Common.TestOutcomeOne of the TestOutcome values.
Property Value
Type: Int32
The count for the test outcome at the specified index.
.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.