RunResultAndStatistics.Item 属性

获取在关联测试运行中具有指定结果的测试的数目。

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

语法

声明
Public ReadOnly Default Property Item ( _
    outcome As TestOutcome _
) As Integer
    Get
public int this[
    TestOutcome outcome
] { get; }
public:
property int default[TestOutcome outcome] {
    int get (TestOutcome outcome);
}
member Item : int
JScript 不支持索引属性。

参数

属性值

类型:System.Int32
在关联测试运行中具有指定 outcome 的测试的数目。

.NET Framework 安全性

请参见

参考

RunResultAndStatistics 类

Microsoft.VisualStudio.TestTools.Common 命名空间

TestOutcome