MultiSelectList Constructor (IEnumerable)

Initializes a new instance of the MultiSelectList class by using the specified items to include in the list.

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

public:
MultiSelectList(
	IEnumerable^ items
)

Parameters

items
Type: System.Collections::IEnumerable

The items.

ExceptionCondition
ArgumentNullException

The items parameter is nullptr.

Show: