SelectList Constructor (IEnumerable, Object)
Visual Studio 2010
Initializes a new instance of the SelectList class by using the specified items for the list and a selected value.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- items
- Type: System.Collections.IEnumerable
The items.
- selectedValue
- Type: System.Object
The selected value.
Community Additions
ADD
Show: