MultiSelectList Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the MultiSelectList class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method MultiSelectList(IEnumerable) Initializes a new instance of the MultiSelectList class by using the specified items to include in the list.
Public method MultiSelectList(IEnumerable, IEnumerable) Initializes a new instance of the MultiSelectList class by using the specified items to include in the list and the selected values.
Public method MultiSelectList(IEnumerable, String, String) Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, and the data text field.
Public method MultiSelectList(IEnumerable, String, String, IEnumerable) Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, and the selected values.

Top

See Also

Reference

MultiSelectList Class

System.Web.Mvc Namespace