共用方式為


ITestSuiteCollection Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a collection of test suites.

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

Syntax

'Declaration
Public Interface ITestSuiteCollection _
    Inherits ITestObjectCollection(Of ITestSuiteBase), IList(Of ITestSuiteBase),  _
    ICollection(Of ITestSuiteBase), IEnumerable(Of ITestSuiteBase), IEnumerable,  _
    INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestSuiteCollection : ITestObjectCollection<ITestSuiteBase>, 
    IList<ITestSuiteBase>, ICollection<ITestSuiteBase>, IEnumerable<ITestSuiteBase>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestSuiteCollection : ITestObjectCollection<ITestSuiteBase^>, 
    IList<ITestSuiteBase^>, ICollection<ITestSuiteBase^>, IEnumerable<ITestSuiteBase^>, 
    IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestSuiteCollection =  
    interface 
        interface ITestObjectCollection<ITestSuiteBase>
        interface IList<ITestSuiteBase>
        interface ICollection<ITestSuiteBase>
        interface IEnumerable<ITestSuiteBase>
        interface IEnumerable 
        interface INotifyCollectionChanged 
        interface INotifyPropertyChanged 
    end
public interface ITestSuiteCollection extends ITestObjectCollection<ITestSuiteBase>, IList<ITestSuiteBase>, ICollection<ITestSuiteBase>, IEnumerable<ITestSuiteBase>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

The ITestSuiteCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestSuiteBase>.)
Public property IsReadOnly Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestSuiteBase>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<ITestSuiteBase>.)
Public property SyncRoot Gets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.)

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection. (Inherited from ICollection<ITestSuiteBase>.)
Public method Clear Removes all items from the ICollection. (Inherited from ICollection<ITestSuiteBase>.)
Public method Contains Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestSuiteBase>.)
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestSuiteBase>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestSuiteBase>.)
Public method IndexOf Determines the index of a specific item in the IList. (Inherited from IList<ITestSuiteBase>.)
Public method Insert Inserts an item to the IList at the specified index. (Inherited from IList<ITestSuiteBase>.)
Public method Move Moves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestSuiteBase>.)
Public method RemoveAt Removes the IList item at the specified index. (Inherited from IList<ITestSuiteBase>.)

Top

Events

  Name Description
Public event CollectionChanged Occurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestObjectCollection<TObjectInterface>

ITestSuiteBase

INotifyCollectionChanged

INotifyPropertyChanged