ObjectQuery<T>::IEnumerable<T>::GetEnumerator Method ()

 

Returns an enumerator that iterates through the results of the query.

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

private:
virtual IEnumerator<T>^ GetEnumerator() sealed = IEnumerable<T>::GetEnumerator

Return Value

Type: System.Collections.Generic::IEnumerator<T>^

An IEnumerator<T> object that can be used to iterate through the results.

Calling IEnumerable<T>::GetEnumerator executes the query.

.NET Framework
Available since 3.5
Return to top
Show: