Edit

Share via


SynchronizedCollection<T>.GetEnumerator Method

Definition

Returns an enumerator that iterates through the synchronized collection.

public:
 virtual System::Collections::Generic::IEnumerator<T> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<T> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'T>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'T>
Public Function GetEnumerator () As IEnumerator(Of T)

Returns

An IEnumerator<T> for objects of the type stored in the collection.

Implements

Applies to