Dela via


SelectListItem.Text Property

Definition

Gets or sets a value that indicates the display text of this SelectListItem. This property is typically rendered as the inner HTML in the HTML <option> element.

public:
 property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String

Property Value

Applies to