SelectListItem.Text Property


Gets or sets the text of the selected item.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)


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

Property Value

Type: System.String

The text.

See Also

SelectListItem Class
System.Web.Mvc Namespace

Return to top