表示测试结果中显示的测试迭代结果的集合。
命名空间:  Microsoft.TeamFoundation.TestManagement.Client
程序集:  Microsoft.TeamFoundation.TestManagement.Client(在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
语法
声明
Public Interface ITestIterationResultCollection _
    Inherits ICollection(Of ITestIterationResult), IEnumerable(Of ITestIterationResult),  _
    IEnumerable, INotifyCollectionChanged
public interface ITestIterationResultCollection : ICollection<ITestIterationResult>, 
    IEnumerable<ITestIterationResult>, IEnumerable, INotifyCollectionChanged
public interface class ITestIterationResultCollection : ICollection<ITestIterationResult^>, 
    IEnumerable<ITestIterationResult^>, IEnumerable, INotifyCollectionChanged
type ITestIterationResultCollection =  
    interface
        interface ICollection<ITestIterationResult>
        interface IEnumerable<ITestIterationResult>
        interface IEnumerable
        interface INotifyCollectionChanged
    end
public interface ITestIterationResultCollection extends ICollection<ITestIterationResult>, IEnumerable<ITestIterationResult>, IEnumerable, INotifyCollectionChanged
ITestIterationResultCollection 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Count | 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<ITestIterationResult>。) | 
| .gif) | IsReadOnly | 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<ITestIterationResult>。) | 
| .gif) | Item | 获取由提供的迭代 ID 指定的测试迭代结果。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Add | 将某项添加到 ICollection<T> 中。 (继承自 ICollection<ITestIterationResult>。) | 
| .gif) | Clear | 从 ICollection<T> 中移除所有项。 (继承自 ICollection<ITestIterationResult>。) | 
| .gif) | Contains(Int32) | 返回一个值,该值指示指定的迭代结果是否在集合中。 | 
| .gif) | Contains(T) | 确定 ICollection<T> 是否包含特定值。 (继承自 ICollection<ITestIterationResult>。) | 
| .gif) | CopyTo | 从特定的 Array 索引处开始,将 ICollection<T> 的元素复制到一个 Array 中。 (继承自 ICollection<ITestIterationResult>。) | 
| .gif) | GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<ITestIterationResult>。) | 
| .gif) | GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) | 
| .gif) | Remove(Int32) | 从集合中移除指定的测试迭代结果。 | 
| .gif) | Remove(T) | 从 ICollection<T> 中移除特定对象的第一个匹配项。 (继承自 ICollection<ITestIterationResult>。) | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | CollectionChanged | 当集合更改时发生。 (继承自 INotifyCollectionChanged。) | 
页首