Partager via


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

Property Value

Type: Int32
The count for the test outcome at the specified index.

.NET Framework Security

See Also

Reference

TestResultCounter Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome