Share via


ITestSuiteEntryCollection Interface

Represents a collection of test suite entries.

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

Syntax

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

The ITestSuiteEntryCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITestSuiteEntry>.)
Public property IsReadOnly Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITestSuiteEntry>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<ITestSuiteEntry>.)
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(ITestCase) Adds a test case to the collection.
Public method Add(ITestSuiteBase) Adds a test suite to the collection.
Public method Add(UTP) Adds an item to the ICollection. (Inherited from ICollection<ITestSuiteEntry>.)
Public method AddCases(IEnumerable<ITestCase>) Adds a list of test cases to the collection.
Public method AddCases(IEnumerable<ITestCase>, Boolean) Adds a list of test cases and optionally ignores duplicate entries.
Public method BulkCopy Copies a list of test entries to the provided test suite entry collection and optionally ignores duplicate entries.
Public method BulkMove(Int32, IEnumerable<ITestSuiteEntry>) Moves the provided list of test suite entries to a different location in this collection.
Public method BulkMove(ITestSuiteEntryCollection, Int32, IEnumerable<ITestSuiteEntry>, Boolean) Moves the provided list of test suite entries to the specified location in another test suite entry collection.
Public method Clear Removes all items from the ICollection. (Inherited from ICollection<ITestSuiteEntry>.)
Public method Contains(ITestObject<Int32>) Returns a value that indicates whether this collection contains the specified test object.
Public method Contains(UTP) Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITestSuiteEntry>.)
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITestSuiteEntry>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestSuiteEntry>.)
Public method IndexOf(ITestObject<Int32>) Returns the index of the provided object in the collection.
Public method IndexOf(UTP) Determines the index of a specific item in the IList. (Inherited from IList<ITestSuiteEntry>.)
Public method Insert(Int32, UTP) Inserts an item to the IList at the specified index. (Inherited from IList<ITestSuiteEntry>.)
Public method Insert(Int32, ITestCase) Inserts the provided test case into the collection at the specified index.
Public method Insert(Int32, ITestSuiteBase) Inserts the provided test suite into the collection at the specified index.
Public method InsertCases(Int32, IEnumerable<ITestCase>) Inserts the provided list of test cases into the collection at the specified location.
Public method InsertCases(Int32, IEnumerable<ITestCase>, Boolean) Inserts the provided list of test cases into the collection at the specified index, and optionally ignores duplicate entries.
Public method Move Moves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.)
Public method Remove(ITestCase) Removes the provided test case from the collection.
Public method Remove(ITestSuiteBase) Removes the provided test suite from the collection.
Public method Remove(UTP) Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITestSuiteEntry>.)
Public method RemoveAt Removes the IList item at the specified index. (Inherited from IList<ITestSuiteEntry>.)
Public method RemoveCases Removes the provided list of test cases from the collection.
Public method RemoveEntries Removes each entry of a provided list of test suite entries from the collection.

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

Remarks

This interface supports the object model for Test Case management (TCM) in Visual Studio. This interface is not intended for you to implement in a custom class, but you can use this interface in a custom class if a TCM object returns an internal implementation.

See Also

Reference

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestObjectCollection<TObjectInterface>

ITestSuiteEntry

INotifyCollectionChanged

INotifyPropertyChanged