ViewEngineCollection Constructor

 

Initializes a new instance of the ViewEngineCollection class.

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

NameDescription
System_CAPS_pubmethodViewEngineCollection()

Initializes a new instance of the ViewEngineCollection class.

System_CAPS_pubmethodViewEngineCollection(IList<IViewEngine^>^)

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

Return to top

ViewEngineCollection Constructor ()

Initializes a new instance of the ViewEngineCollection class.

public:
ViewEngineCollection()
Return to top

ViewEngineCollection Constructor (IList<IViewEngine^>^)

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

public:
ViewEngineCollection(
	IList<IViewEngine^>^ list
)

Parameters

list
Type: System.Collections.Generic::IList<IViewEngine^>^

The list that is wrapped by the new collection.

Exception Condition
ArgumentNullException

list is null.

Return to top
Show: