Compartilhar via


DelegatingEnumerable<T>.GetEnumerator Method

Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of T)
'Usage
Dim instance As DelegatingEnumerable
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator()
public IEnumerator<T> GetEnumerator()
public:
virtual IEnumerator<T>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<'T> 
override GetEnumerator : unit -> IEnumerator<'T> 
public final function GetEnumerator() : IEnumerator<T>

Return Value

Type: System.Collections.Generic.IEnumerator<T>
The enumerator of the <see cref="T:System.Collections.Generic.IEnumerable`1" /> source.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

DelegatingEnumerable<T> Class

System.Net.Http.Formatting Namespace