EntityCollection<TEntity>.GetEnumerator Metoda

Definice

Vrátí enumerátor, který se používá k iteraci objektů v kolekci.

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)

Návraty

IEnumerator<TEntity>

Iteruje IEnumerator se sadou hodnot uložených v mezipaměti EntityCollection<TEntity>.

Implementuje

Platí pro