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<T>. (Se hereda de ICollection<TObjectInterface>). |
![]() |
IsReadOnly | Obtiene un valor que indica si ICollection<T> es de solo 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<T>. (Se hereda de ICollection<TObjectInterface>). |
![]() |
Clear | Quita todos los elementos de ICollection<T>. (Se hereda de ICollection<TObjectInterface>). |
![]() |
Contains | Determina si ICollection<T> contiene un valor específico. (Se hereda de ICollection<TObjectInterface>). |
![]() |
CopyTo | Copia los elementos de la interfaz ICollection<T> a un objeto Array, a partir de un índice determinado de la clase Array. (Se hereda de ICollection<TObjectInterface>). |
![]() |
GetEnumerator() | Devuelve un enumerador que recorre en iteración la colección. (Se hereda de IEnumerable<TObjectInterface>). |
![]() |
GetEnumerator() | Devuelve un enumerador que recorre en iteración una colección. (Se hereda de IEnumerable). |
![]() |
IndexOf | Determina el índice de un elemento específico de IList<T>. (Se hereda de IList<TObjectInterface>). |
![]() |
Insert | Inserta un elemento en IList<T>, 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 ICollection<T>. (Se hereda de ICollection<TObjectInterface>). |
![]() |
RemoveAt | Quita el elemento de IList<T> 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 | Se produce cuando cambia el valor de una propiedad. (Se hereda de INotifyPropertyChanged). |
Arriba
Vea también
Referencia
Microsoft.TeamFoundation.TestManagement.Client (Espacio de nombres)