ViewEngineResult Constructor (IView, IViewEngine)
Collapse the table of content
Expand the table of content

ViewEngineResult Constructor (IView, IViewEngine)

Visual Studio 2010

Initializes a new instance of the ViewEngineResult class by using the specified view and view engine.

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

public ViewEngineResult(
	IView view,
	IViewEngine viewEngine
)

Parameters

view
Type: System.Web.Mvc.IView
The view.
viewEngine
Type: System.Web.Mvc.IViewEngine
The view engine.

ExceptionCondition
ArgumentNullException

The view or viewEngine parameter is null.

Community Additions

ADD
Show:
© 2016 Microsoft