SynchronizedReadOnlyCollection<T>.GetEnumerator SynchronizedReadOnlyCollection<T>.GetEnumerator SynchronizedReadOnlyCollection<T>.GetEnumerator SynchronizedReadOnlyCollection<T>.GetEnumerator Method

定义

返回循环访问同步的只读集合的枚举器。Returns an enumerator that iterates through the synchronized, read-only 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)

返回

一个 IEnumerator<T>,用于访问集合中存储的类型的对象。An IEnumerator<T> for objects of the type stored in the collection.

实现

适用于