Partager via


StreamingCollection<T>.GetEnumerator, méthode

Cette collection permet d'accéder aux objets via un énumérateur générique et non générique.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Function GetEnumerator As IEnumerator(Of T)
public IEnumerator<T> GetEnumerator()

Valeur de retour

Type : System.Collections.Generic.IEnumerator<T>
retourne IEnumerator<T> ;

Implémentations

IEnumerable<T>.GetEnumerator()

Exceptions

Exception Condition
StreamingCollectionUnsupportedOperationException

Levée si un deuxième énumérateur est demandé après les éléments ont été utilisés.

Sécurité .NET Framework

Voir aussi

Référence

StreamingCollection<T> Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms