共用方式為


ITestIterationResultCollection Interface

Represents a collection of test iteration results that are shown in a test result.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
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

The ITestIterationResultCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestIterationResult>.)
Public property IsReadOnly Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestIterationResult>.)
Public property Item Gets the test iteration result that is specified by the provided iteration ID.

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection. (Inherited from ICollection<ITestIterationResult>.)
Public method Clear Removes all items from the ICollection. (Inherited from ICollection<ITestIterationResult>.)
Public method Contains(Int32) Returns a value that indicates whether the specified iteration result is in the collection.
Public method Contains(UTP) Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestIterationResult>.)
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestIterationResult>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestIterationResult>.)
Public method Remove(Int32) Removes the specified test iteration result from the collection.
Public method Remove(UTP) Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestIterationResult>.)

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestIterationResult

INotifyCollectionChanged