Interface ITestObjectCollection<TObjectInterface>
Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.
Representa a interface base para coleções de objetos de gerenciamento de teste.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (em Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintaxe
'Declaração
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 não oferece suporte a tipos ou métodos genéricos.
Parâmetros de tipo
- TObjectInterface
Um objeto de gerenciamento de teste do Type.
O tipo ITestObjectCollection<TObjectInterface> expõe os membros a seguir.
Propriedades
Nome | Descrição | |
---|---|---|
![]() |
Count | Obtém o número de elementos contidos em ICollection. (Herdado de ICollection<TObjectInterface>.) |
![]() |
IsReadOnly | Obtém um valor que indica se ICollection é somente leitura. (Herdado de ICollection<TObjectInterface>.) |
![]() |
Item | Obtém ou define o elemento no índice especificado. (Herdado de IList<TObjectInterface>.) |
![]() |
SyncRoot | Obtém um objeto que pode ser usado para sincronizar o acesso à coleção. |
Superior
Métodos
Nome | Descrição | |
---|---|---|
![]() |
Add | Adiciona um item a ICollection. (Herdado de ICollection<TObjectInterface>.) |
![]() |
Clear | Remove todos os itens de ICollection. (Herdado de ICollection<TObjectInterface>.) |
![]() |
Contains | Determina se ICollection contém um valor específico. (Herdado de ICollection<TObjectInterface>.) |
![]() |
CopyTo | Copia os elementos de ICollection a Array, a partir de um índice específico de Array . (Herdado de ICollection<TObjectInterface>.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Herdado de IEnumerable<TObjectInterface>.) |
![]() |
IndexOf | Determina o índice de um item específico em IList. (Herdado de IList<TObjectInterface>.) |
![]() |
Insert | Insere um item a IList no índice especificado. (Herdado de IList<TObjectInterface>.) |
![]() |
Move | Move o item da coleção de uma posição para outra. |
![]() |
Remove | Remove a primeira ocorrência de um objeto específico de ICollection. (Herdado de ICollection<TObjectInterface>.) |
![]() |
RemoveAt | Remove o item de IList no índice especificado. (Herdado de IList<TObjectInterface>.) |
Superior
Eventos
Nome | Descrição | |
---|---|---|
![]() |
CollectionChanged | Ocorre quando a coleção é alterada. (Herdado de INotifyCollectionChanged.) |
![]() |
PropertyChanged | Ocorre quando um valor de propriedade alterado. (Herdado de INotifyPropertyChanged.) |
Superior