Share via


VirtualPathProviderViewEngine.CreatePartialView Method

Definition

Creates the specified partial view by using the specified controller context.

protected abstract System.Web.Mvc.IView CreatePartialView (System.Web.Mvc.ControllerContext controllerContext, string partialPath);
abstract member CreatePartialView : System.Web.Mvc.ControllerContext * string -> System.Web.Mvc.IView
Protected MustOverride Function CreatePartialView (controllerContext As ControllerContext, partialPath As String) As IView

Parameters

controllerContext
ControllerContext

The controller context.

partialPath
String

The partial path for the new partial view.

Returns

A reference to the partial view.

Applies to