Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ViewEngineResult Constructor (IView, IViewEngine)

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.