Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Interface ITestObjectCollection(Of TObjectInterface) _
Inherits IList(Of TObjectInterface), ICollection(Of TObjectInterface), _
IEnumerable(Of TObjectInterface), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestObjectCollection<TObjectInterface> : IList<TObjectInterface>,
ICollection<TObjectInterface>, IEnumerable<TObjectInterface>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
generic<typename TObjectInterface>
public interface class ITestObjectCollection : IList<TObjectInterface>,
ICollection<TObjectInterface>, IEnumerable<TObjectInterface>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestObjectCollection<'TObjectInterface> =
interface
interface IList<'TObjectInterface>
interface ICollection<'TObjectInterface>
interface IEnumerable<'TObjectInterface>
interface IEnumerable
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
JScript does not support generic types or methods.
Type Parameters
- TObjectInterface
A test management object of Type.
The ITestObjectCollection<TObjectInterface> type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<TObjectInterface>.) |
![]() |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<TObjectInterface>.) |
![]() |
Item | Gets or sets the element at the specified index. (Inherited from IList<TObjectInterface>.) |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<TObjectInterface>.) |
![]() |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<TObjectInterface>.) |
![]() |
Contains | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<TObjectInterface>.) |
![]() |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<TObjectInterface>.) |
![]() |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<TObjectInterface>.) |
![]() |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
![]() |
IndexOf | Determines the index of a specific item in the IList<T>. (Inherited from IList<TObjectInterface>.) |
![]() |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<TObjectInterface>.) |
![]() |
Move | Moves the item of the collection from one position to another. |
![]() |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<TObjectInterface>.) |
![]() |
RemoveAt | Removes the IList<T> item at the specified index. (Inherited from IList<TObjectInterface>.) |
Top
Events
Name | Description | |
---|---|---|
![]() |
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged.) |
![]() |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
Top