SelectListItem.Value Property

Definition

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

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

Property Value

Applies to