TestResultCounter.Item 属性

获取或设置指定索引处的测试结果的计数。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Public Default Property Item ( _
    index As TestOutcome _
) As Integer
    Get
    Set
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 : int with get, set
JScript 不支持索引属性。

参数

属性值

类型:System.Int32
指定索引处的测试结果的计数。

.NET Framework 安全性

请参见

参考

TestResultCounter 类

Microsoft.VisualStudio.TestTools.Common 命名空间

TestOutcome