Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates the specified view by using the specified controller context and the paths of the view and master view.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overrides Function CreateView ( _
controllerContext As ControllerContext, _
viewPath As String, _
masterPath As String _
) As IView
protected override IView CreateView(
ControllerContext controllerContext,
string viewPath,
string masterPath
)
protected:
virtual IView^ CreateView(
ControllerContext^ controllerContext,
String^ viewPath,
String^ masterPath
) override
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- viewPath
Type: System.String
The view path.
- masterPath
Type: System.String
The master-view path.
Return Value
Type: System.Web.Mvc.IView
The view.