EntitySet<TEntity>.GetEnumerator EntitySet<TEntity>.GetEnumerator EntitySet<TEntity>.GetEnumerator EntitySet<TEntity>.GetEnumerator Method

定义

返回循环访问集合的枚举数。Returns an enumerator that iterates through a collection.

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

返回

IEnumerator<TEntity>

一个 IEnumerator<T>An IEnumerator<T>.

实现

适用于