Export (0) Print
Expand All

SelectList Constructor

.NET Framework 4

Initializes a new instance of the SelectList class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SelectList(IEnumerable) Initializes a new instance of the SelectList class by using the specified items for the list.
Public method SelectList(IEnumerable, Object) Initializes a new instance of the SelectList class by using the specified items for the list and a selected value.
Public method SelectList(IEnumerable, String, String) Initializes a new instance of the SelectList class by using the specified items for the list, the data value field, and the data text field.
Public method SelectList(IEnumerable, String, String, Object) Initializes a new instance of the SelectList class by using the specified items for the list, the data value field, the data text field, and a selected value.
Top

Community Additions

ADD
Show:
© 2014 Microsoft