ViewEngineCollection Constructor (IList(Of 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)
'Declaration Public Sub New ( _ list As IList(Of IViewEngine) _ ) 'Usage Dim list As IList(Of IViewEngine) Dim instance As New ViewEngineCollection(list)
Parameters
- list
- Type: System.Collections.Generic.IList(Of IViewEngine)
The list that is wrapped by the new collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | list is null. |
Show: