RazorViewEngine::CreateView Method (ControllerContext^, String^, String^)

 

Creates a 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)

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 path to the view.

masterPath
Type: System::String^

The path to the master view.

Return Value

Type: System.Web.Mvc::IView^

The view.

Return to top
Show: