Partager via


ViewEngineCollection Constructor (IList<IViewEngine>)

Initializes a new instance of the ViewEngineCollection class by using the specified list of view engines.

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

Syntax

'Declaration
Public Sub New ( _
    list As IList(Of IViewEngine) _
)
public ViewEngineCollection(
    IList<IViewEngine> list
)
public:
ViewEngineCollection(
    IList<IViewEngine^>^ list
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

list is null.

See Also

Reference

ViewEngineCollection Class

ViewEngineCollection Overload

System.Web.Mvc Namespace