Share via


EntitySet<TEntity>.IEnumerable.GetEnumerator Method

Returns an object that iterates the EntitySet<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 EntitySet
Dim returnValue As IEnumerator

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

Return Value

Type: System.Collections.IEnumerator
An IEnumerator that can iterate the collection.

Implements

IEnumerable.GetEnumerator()

See Also

Reference

EntitySet<TEntity> Class

EntitySet<TEntity> Members

Microsoft.SharePoint.Linq Namespace