ConcurrentBag<T>.IEnumerable.GetEnumerator Método

Definição

Retorna um enumerador que itera pela ConcurrentBag<T>.Returns an enumerator that iterates through the ConcurrentBag<T>.

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
abstract member System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

Retornos

IEnumerator

Um enumerador para o conteúdo de ConcurrentBag<T>.An enumerator for the contents of the ConcurrentBag<T>.

Implementações

Comentários

Os itens enumerados representam um instantâneo no momento do conteúdo da bolsa.The items enumerated represent a moment-in-time snapshot of the contents of the bag. Ele não reflete nenhuma atualização para a coleção depois que o GetEnumerator foi chamado.It does not reflect any update to the collection after GetEnumerator was called.

Aplica-se a