SelectList Constructor (IEnumerable)

Visual Studio 2010

Initializes a new instance of the SelectList class by using the specified items for the list.

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

public SelectList(
	IEnumerable items
)

Parameters

items
Type: System.Collections.IEnumerable
The items.

Community Additions

ADD
Show: