Otter SDK Reference
Version:

SelectListItem(string text, string value, bool selected) Constructor

Initializes a new instance of the SelectListItem class.

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.