ITestObjectCollection<TObjectInterface> (Interfaz)
Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.
Representa la interfaz base para colecciones de objetos de administración de pruebas.
Espacio de nombres: Microsoft.TeamFoundation.TestManagement.Client
Ensamblado: Microsoft.TeamFoundation.TestManagement.Client (en Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintaxis
'Declaración
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 no admite el uso de métodos ni tipos genéricos.
Parámetros de tipo
- TObjectInterface
Type de un objeto de administración de pruebas.
El tipo ITestObjectCollection<TObjectInterface> expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
Count | Obtiene el número de elementos incluidos en ICollection. (Se hereda de ICollection<TObjectInterface>). | |
IsReadOnly | Obtiene un valor que indica si ICollection es de sólo lectura. (Se hereda de ICollection<TObjectInterface>). | |
Item | Obtiene o establece el elemento que se encuentra en el índice especificado. (Se hereda de IList<TObjectInterface>). | |
SyncRoot | Obtiene un objeto que se puede utilizar para sincronizar el acceso a la colección. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Add | Agrega un elemento a ICollection. (Se hereda de ICollection<TObjectInterface>). | |
Clear | Quita todos los elementos de ICollection. (Se hereda de ICollection<TObjectInterface>). | |
Contains | Determina si la interfaz ICollection contiene un valor específico. (Se hereda de ICollection<TObjectInterface>). | |
CopyTo | Copia los elementos de ICollection en un objeto Array, a partir de un índice determinado de Array. (Se hereda de ICollection<TObjectInterface>). | |
GetEnumerator | Devuelve un enumerador que procesa una iteración en la colección. (Se hereda de IEnumerable<TObjectInterface>). | |
IndexOf | Determina el índice de un elemento específico de IList. (Se hereda de IList<TObjectInterface>). | |
Insert | Inserta un elemento en la interfaz IList, en el índice especificado. (Se hereda de IList<TObjectInterface>). | |
Move | Mueve el elemento de la colección de una posición a otra. | |
Remove | Quita la primera aparición de un objeto específico de la interfaz ICollection. (Se hereda de ICollection<TObjectInterface>). | |
RemoveAt | Quita el elemento de la interfaz IList que se encuentra en el índice especificado. (Se hereda de IList<TObjectInterface>). |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
CollectionChanged | Se produce cuando cambia la colección. (Se hereda de INotifyCollectionChanged). | |
PropertyChanged | Tiene lugar cuando cambia un valor de propiedad. (Se hereda de INotifyPropertyChanged). |
Arriba
Vea también
Referencia
Microsoft.TeamFoundation.TestManagement.Client (Espacio de nombres)