Compartir a través de


SelectList Constructor (IEnumerable)

Initializes a new instance of the SelectList class by using the specified items for the list.

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

Syntax

'Declaration
Public Sub New ( _
    items As IEnumerable _
)
public SelectList(
    IEnumerable items
)
public:
SelectList(
    IEnumerable^ items
)

Parameters

See Also

Reference

SelectList Class

SelectList Overload

System.Web.Mvc Namespace