Nyelv

EntityCollection<TEntity>.GetEnumerator Metódus

Definíció

Egy enumerátort ad vissza, amely a gyűjtemény objektumain keresztüli iterálásra szolgál.

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)

Válaszok

IEnumerator<TEntity>

Egy IEnumerator , amely a gyorsítótárazott EntityCollection<TEntity>értékek halmazán halad végig.

Megvalósítás

A következőre érvényes: