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)
'Declaration Public Sub New ( _ view As IView, _ viewEngine As IViewEngine _ ) 'Usage Dim view As IView Dim viewEngine As IViewEngine Dim instance As New ViewEngineResult(view, viewEngine)
Parameters
- view
- Type: System.Web.Mvc.IView
The view.
- viewEngine
- Type: System.Web.Mvc.IViewEngine
The view engine.
| Exception | Condition |
|---|---|
| ArgumentNullException | The view or viewEngine parameter is Nothing. |
Show: