MultiSelectList Constructor (IEnumerable, IEnumerable)
Visual Studio 2010
Initializes a new instance of the MultiSelectList class by using the specified items to include in the list and the selected values.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- items
- Type: System.Collections::IEnumerable
The items.
- selectedValues
- Type: System.Collections::IEnumerable
The selected values.
| Exception | Condition |
|---|---|
| ArgumentNullException | The items parameter is nullptr. |
Community Additions
ADD
Show: