Share via


EntityList<TEntity>.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
Public Function GetEnumerator As IEnumerator(Of TEntity)
'Usage
Dim instance As EntityList
Dim returnValue As IEnumerator(Of TEntity)

returnValue = instance.GetEnumerator()
public IEnumerator<TEntity> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<TEntity>
An IEnumerator<T> that can be used to iterate the list.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

EntityList<TEntity> class

EntityList<TEntity> members

Microsoft.SharePoint.Linq namespace