Version:
SelectListItem(string text, string value, bool selected) Constructor
Syntax
public .ctor(string text, string value, bool selected)
Parameters
- text
- Type: string
The item text.
- value
- Type: string
The item value.
- selected
- Type: bool
Value indicating whether the item is selected.