Partager via


VirtualPathProviderViewEngine.CreateView Method

Creates the specified view by using the controller context, path of the view, and path of the master view.

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

Syntax

'Declaration
Protected MustOverride Function CreateView ( _
    controllerContext As ControllerContext, _
    viewPath As String, _
    masterPath As String _
) As IView
protected abstract IView CreateView(
    ControllerContext controllerContext,
    string viewPath,
    string masterPath
)
protected:
virtual IView^ CreateView(
    ControllerContext^ controllerContext, 
    String^ viewPath, 
    String^ masterPath
) abstract

Parameters

Return Value

Type: System.Web.Mvc.IView
A reference to the view.

See Also

Reference

VirtualPathProviderViewEngine Class

System.Web.Mvc Namespace