SelectList Constructor
Include Protected Members
Include Inherited Members
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.
Overload List
Name | Description | |
---|---|---|
SelectList(IEnumerable) | Initializes a new instance of the SelectList class by using the specified items for the list. | |
SelectList(IEnumerable, Object) | Initializes a new instance of the SelectList class by using the specified items for the list and a selected value. | |
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. | |
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