Compartir a través de


SelectListItem.Value Property

Gets or sets the value of the selected item.

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

Syntax

'Declaration
Public Property Value As String
    Get
    Set
public string Value { get; set; }
public:
property String^ Value {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The value.

See Also

Reference

SelectListItem Class

System.Web.Mvc Namespace