EntityCollection<TEntity>.GetEnumerator Method ()

 

Returns an enumerator that is used to iterate through the objects in the collection.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public IEnumerator<TEntity> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<TEntity>

An IEnumerator that iterates through the set of values cached by EntityCollection<TEntity>.

.NET Framework
Available since 3.5
Return to top
Show: