RazorViewEngine.CreatePartialView(ControllerContext, String) RazorViewEngine.CreatePartialView(ControllerContext, String) Method

Definition

Creates a partial view using the specified controller context and partial path.

protected override System.Web.Mvc.IView CreatePartialView (System.Web.Mvc.ControllerContext controllerContext, string partialPath);
override this.CreatePartialView : System.Web.Mvc.ControllerContext * string -> System.Web.Mvc.IView
Parameters
controllerContext
ControllerContext ControllerContext

The controller context.

partialPath
String String

The path to the partial view.

Returns

The partial view.

Applies to