Bewerken

Delen via


BlockingCollection<T>.IEnumerable.GetEnumerator Method

Definition

Provides an IEnumerator for items in the collection.

 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

Returns

An IEnumerator for the items in the collection.

Implements

Exceptions

Remarks

This member is an explicit interface member implementation. It can be used only when the BlockingCollection<T> instance is cast to an IEnumerable interface.

Applies to

See also