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