Interfaccia ITestObjectCollection<TObjectInterface>
Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.
Rappresenta l'interfaccia di base per le raccolte di oggetti gestione test.
Spazio dei nomi: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintassi
'Dichiarazione
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 non supporta i tipi o i metodi generici.
Parametri di tipo
- TObjectInterface
Un oggetto di gestione test Type.
Il tipo ITestObjectCollection<TObjectInterface> espone i seguenti membri.
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Count | Ottiene il numero di elementi contenuti in ICollection<T>. (Ereditato da ICollection<TObjectInterface>) |
![]() |
IsReadOnly | ottiene un valore che indica se ICollection<T> è di sola lettura. (Ereditato da ICollection<TObjectInterface>) |
![]() |
Item | Ottiene o imposta l'elemento all'indice specificato. (Ereditato da IList<TObjectInterface>) |
![]() |
SyncRoot | Ottiene un oggetto che può essere utilizzato per sincronizzare l'accesso alla raccolta. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Add | Aggiunge un elemento a ICollection<T>. (Ereditato da ICollection<TObjectInterface>) |
![]() |
Clear | Rimuove tutti gli elementi da ICollection<T>. (Ereditato da ICollection<TObjectInterface>) |
![]() |
Contains | determina se ICollection<T> contiene un valore specifico. (Ereditato da ICollection<TObjectInterface>) |
![]() |
CopyTo | Copia gli elementi di ICollection<T> in Array, l'avvio a un particolare Array indice. (Ereditato da ICollection<TObjectInterface>) |
![]() |
GetEnumerator | Restituisce un enumeratore che scorre la raccolta. (Ereditato da IEnumerable<TObjectInterface>) |
![]() |
IndexOf | Determina indice di un elemento specifico in IList<T>. (Ereditato da IList<TObjectInterface>) |
![]() |
Insert | Inserisce un elemento a IList<T> all'indice specificato. (Ereditato da IList<TObjectInterface>) |
![]() |
Move | Sposta l'elemento della raccolta da una posizione a un'altra. |
![]() |
Remove | Rimuove la prima occorrenza di un oggetto specifico da ICollection<T>. (Ereditato da ICollection<TObjectInterface>) |
![]() |
RemoveAt | rimuove IList<T> elemento all'indice specificato. (Ereditato da IList<TObjectInterface>) |
In alto
Eventi
Nome | Descrizione | |
---|---|---|
![]() |
CollectionChanged | Si verifica quando la raccolta. (Ereditato da INotifyCollectionChanged) |
![]() |
PropertyChanged | Viene generato quando il valore di una proprietà cambia. (Ereditato da INotifyPropertyChanged) |
In alto
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.TeamFoundation.TestManagement.Client