EntityCollection<TEntity>.GetEnumerator Метод

Определение

Возвращает перечислитель, используемый для прохода по объектам в коллекции.

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

Возвращаемое значение

IEnumerator<TEntity>

Интерфейс IEnumerator, проходящий по набору значений, помещенных в кэш коллекцией EntityCollection<TEntity>.

Реализации

Применяется к