EntityCollection<TEntity>.GetEnumerator 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个枚举器,用于循环访问集合中的对象。
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> 缓存的值集。