Partager via


MultiSelectList.DataTextField Property

Gets or sets the data text field.

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

Syntax

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

Property Value

Type: System.String
The data text field.

See Also

Reference

MultiSelectList Class

System.Web.Mvc Namespace