Partager via


HttpRouteCollection.OnGetEnumerator Method

Called internally to get the enumerator for the collection.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Protected Overridable Function OnGetEnumerator As IEnumerator
'Usage
Dim returnValue As IEnumerator

returnValue = Me.OnGetEnumerator()
protected virtual IEnumerator OnGetEnumerator()
protected:
virtual IEnumerator^ OnGetEnumerator()
abstract OnGetEnumerator : unit -> IEnumerator 
override OnGetEnumerator : unit -> IEnumerator 
protected function OnGetEnumerator() : IEnumerator

Return Value

Type: System.Collections.IEnumerator
An IEnumerator that can be used to iterate through the collection.

See Also

Reference

HttpRouteCollection Class

System.Web.Http Namespace