Share via


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