MultiSelectList.GetEnumerator Method

Returns an enumerator that can be used to iterate through the collection.

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

public function GetEnumerator() : IEnumerator<SelectListItem>

Return Value

Type: System.Collections.Generic.IEnumerator(SelectListItem)
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable(T).GetEnumerator()
Show: