Export (0) Print
Expand All

SelectList Constructor

Initializes a new instance of the SelectList class.

  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

Show:
© 2014 Microsoft