SelectList.SelectedValue Property
Gets the list value that was selected by the user.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property SelectedValue As Object
Get
Private Set
public Object SelectedValue { get; private set; }
public:
property Object^ SelectedValue {
Object^ get ();
private: void set (Object^ value);
}
Property Value
Type: System.Object
The selected value.