EntityCollection<TEntity>.GetEnumerator 方法

定义

返回一个枚举器,用于循环访问集合中的对象。

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

返回

IEnumerator<TEntity>

一个 IEnumerator ,它循环访问 由 EntityCollection<TEntity> 缓存的值集。

实现

适用于