Share via


EntitySet<TEntity>.GetEnumerator Method

Returns an enumerator that iterates through the EntitySet<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 EntitySet
Dim returnValue As IEnumerator(Of TEntity)

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

Return Value

Type: System.Collections.Generic.IEnumerator<TEntity>
A IEnumerator<T> that can iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

EntitySet<TEntity> Class

EntitySet<TEntity> Members

Microsoft.SharePoint.Linq Namespace