Delen via


SelectListItem.Text Property

Definition

Gets or sets the text that is used to display the SelectListItem instance on a web page.

public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String

Property Value

The text that is used to display the select list item.

Applies to