We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ITestObjectCollection<TObjectInterface> Interface

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

Represents the base interface for collections of test management objects.

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

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

Type Parameters

TObjectInterface

A test management object of Type.

The ITestObjectCollection<TObjectInterface> type exposes the following members.

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

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

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