Compartilhar via


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)

Syntax

'Declaration
Public Sub New ( _
    view As IView, _
    viewEngine As IViewEngine _
)
public ViewEngineResult(
    IView view,
    IViewEngine viewEngine
)
public:
ViewEngineResult(
    IView^ view, 
    IViewEngine^ viewEngine
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The view or viewEngine parameter is null reference (Nothing in Visual Basic).

See Also

Reference

ViewEngineResult Class

ViewEngineResult Overload

System.Web.Mvc Namespace