This documentation is archived and is not being maintained.

ITestCaseCollection Interface

Represents a container for test cases.

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

public interface ITestCaseCollection : ITestObjectCollection<ITestCase>, 
	IList<ITestCase>, ICollection<ITestCase>, IEnumerable<ITestCase>, 
	IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

The ITestCaseCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements contained in the ICollection<T>. (Inherited from ICollection<ITestCase>.)
Public propertyIsReadOnlyGets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<ITestCase>.)
Public propertyItemGets or sets the element at the specified index. (Inherited from IList<ITestCase>.)
Public propertySyncRootGets an object that can be used to synchronize access to the collection. (Inherited from ITestObjectCollection<TObjectInterface>.)
Top

  NameDescription
Public methodAddAdds an item to the ICollection<T>. (Inherited from ICollection<ITestCase>.)
Public methodClearRemoves all items from the ICollection<T>. (Inherited from ICollection<ITestCase>.)
Public methodContainsDetermines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ITestCase>.)
Public methodCopyToCopies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<ITestCase>.)
Public methodGetEnumerator()Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITestCase>.)
Public methodGetEnumerator()Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodIndexOfDetermines the index of a specific item in the IList<T>. (Inherited from IList<ITestCase>.)
Public methodInsertInserts an item to the IList<T> at the specified index. (Inherited from IList<ITestCase>.)
Public methodMoveMoves the item of the collection from one position to another. (Inherited from ITestObjectCollection<TObjectInterface>.)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ITestCase>.)
Public methodRemoveAtRemoves the IList<T> item at the specified index. (Inherited from IList<ITestCase>.)
Top

  NameDescription
Public eventCollectionChangedOccurs when the collection changes. (Inherited from INotifyCollectionChanged.)
Public eventPropertyChangedOccurs when a property value changes. (Inherited from INotifyPropertyChanged.)
Top
Show: