VirtualPathProviderViewEngine.CreatePartialView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.