IEnumerable(T).GetEnumerator Method
Collapse the table of content
Expand the table of content

EnumerableQuery(Of T).IEnumerable(Of T).GetEnumerator Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Returns an enumerator that can iterate through the associated IEnumerable(Of T) collection, or, if it is null, through the collection that results from rewriting the associated expression tree as a query on an IEnumerable(Of T) data source and executing it.

Namespace:  System.Linq
Assembly:  System.Core (in System.Core.dll)

'Declaration
Private Function GetEnumerator As IEnumerator(Of T)
	Implements IEnumerable(Of T).GetEnumerator

Return Value

Type: System.Collections.Generic.IEnumerator(Of T)
An enumerator that can be used to iterate through the associated data source.

Implements

IEnumerable(Of T).GetEnumerator

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft