Compartilhar via


DelegatingEnumerable<T>.IEnumerable.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
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As DelegatingEnumerable
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator 
private override GetEnumerator : unit -> IEnumerator 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

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

Implements

IEnumerable.GetEnumerator()

See Also

Reference

DelegatingEnumerable<T> Class

System.Net.Http.Formatting Namespace