ObjectQuery(Of T).IEnumerable(Of 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 Function GetEnumerator As IEnumerator(Of T)
	Implements IEnumerable(Of T).GetEnumerator

Return Value

Type: System.Collections.Generic.IEnumerator(Of T)

An IEnumerator(Of T) object that can be used to iterate through the results.

Calling IEnumerable(Of T).GetEnumerator executes the query.

.NET Framework
Available since 3.5
Return to top