RazorViewEngine.CreatePartialView(ControllerContext, String) 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 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
Protected Overrides Function CreatePartialView (controllerContext As ControllerContext, partialPath As String) As IView
Parameters
- controllerContext
- ControllerContext
The controller context.
- partialPath
- String
The path to the partial view.
Returns
The partial view.