Interfaccia ITestCaseCollection
rappresenta un contenitore per i test case.
Spazio dei nomi: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Sintassi
'Dichiarazione
Public Interface ITestCaseCollection _
Inherits ITestObjectCollection(Of ITestCase), IList(Of ITestCase), _
ICollection(Of ITestCase), IEnumerable(Of ITestCase), IEnumerable, _
INotifyCollectionChanged, INotifyPropertyChanged
public interface ITestCaseCollection : ITestObjectCollection<ITestCase>,
IList<ITestCase>, ICollection<ITestCase>, IEnumerable<ITestCase>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
public interface class ITestCaseCollection : ITestObjectCollection<ITestCase^>,
IList<ITestCase^>, ICollection<ITestCase^>, IEnumerable<ITestCase^>,
IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
type ITestCaseCollection =
interface
interface ITestObjectCollection<ITestCase>
interface IList<ITestCase>
interface ICollection<ITestCase>
interface IEnumerable<ITestCase>
interface IEnumerable
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
public interface ITestCaseCollection extends ITestObjectCollection<ITestCase>, IList<ITestCase>, ICollection<ITestCase>, IEnumerable<ITestCase>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Il tipo ITestCaseCollection espone i seguenti membri.
Proprietà
Nome | Descrizione | |
---|---|---|
![]() |
Count | Ottiene il numero di elementi contenuti in ICollection<T>. (Ereditato da ICollection<ITestCase>) |
![]() |
IsReadOnly | ottiene un valore che indica se ICollection<T> è di sola lettura. (Ereditato da ICollection<ITestCase>) |
![]() |
Item | Ottiene o imposta l'elemento all'indice specificato. (Ereditato da IList<ITestCase>) |
![]() |
SyncRoot | Ottiene un oggetto che può essere utilizzato per sincronizzare l'accesso alla raccolta. (Ereditato da ITestObjectCollection<TObjectInterface>) |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
![]() |
Add | Aggiunge un elemento a ICollection<T>. (Ereditato da ICollection<ITestCase>) |
![]() |
Clear | Rimuove tutti gli elementi da ICollection<T>. (Ereditato da ICollection<ITestCase>) |
![]() |
Contains | determina se ICollection<T> contiene un valore specifico. (Ereditato da ICollection<ITestCase>) |
![]() |
CopyTo | Copia gli elementi di ICollection<T> in Array, l'avvio a un particolare Array indice. (Ereditato da ICollection<ITestCase>) |
![]() |
GetEnumerator | Restituisce un enumeratore che scorre la raccolta. (Ereditato da IEnumerable<ITestCase>) |
![]() |
IndexOf | Determina indice di un elemento specifico in IList<T>. (Ereditato da IList<ITestCase>) |
![]() |
Insert | Inserisce un elemento a IList<T> all'indice specificato. (Ereditato da IList<ITestCase>) |
![]() |
Move | Sposta l'elemento della raccolta da una posizione a un'altra. (Ereditato da ITestObjectCollection<TObjectInterface>) |
![]() |
Remove | Rimuove la prima occorrenza di un oggetto specifico da ICollection<T>. (Ereditato da ICollection<ITestCase>) |
![]() |
RemoveAt | rimuove IList<T> elemento all'indice specificato. (Ereditato da IList<ITestCase>) |
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
Esempi
ITestObjectCollection<TObjectInterface>
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.TeamFoundation.TestManagement.Client