EntityList<TEntity>.IEnumerable.GetEnumerator Method

Returns an enumerator that iterates through the EntityList<TEntity>.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As EntityList
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumeratorIEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator
An IEnumerator that can be used to iterate the list.

Implements

IEnumerable.GetEnumerator()

Remarks

This implementation simply calls EntityList<TEntity>.GetEnumerator().

See Also

Reference

EntityList<TEntity> Class

EntityList<TEntity> Members

Microsoft.SharePoint.Linq Namespace