Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

new : 
        list:IList<IViewEngine> -> ViewEngineCollection

Parameters

list
Type: System.Collections.Generic.IList(IViewEngine)

The list that is wrapped by the new collection.

ExceptionCondition
ArgumentNullException

list is null.

Show:
© 2015 Microsoft