Share via


MultiSelectList.DataValueField Property

Gets or sets the data value field.

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

Syntax

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

Property Value

Type: System.String
The data value field.

See Also

Reference

MultiSelectList Class

System.Web.Mvc Namespace