WebFormViewEngine.CreatePartialView Method (ControllerContext, String)

 

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

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

protected override IView CreatePartialView(
    ControllerContext controllerContext,
    string partialPath
)
protected:
virtual IView^ CreatePartialView(
    ControllerContext^ controllerContext,
    String^ partialPath
) override
override CreatePartialView : 
        controllerContext:ControllerContext *
        partialPath:string -> IView
Protected Overrides Function CreatePartialView (
    controllerContext As ControllerContext,
    partialPath As String
) As IView

Parameters

Return Value

Type: System.Web.Mvc.IView

The partial view.

See Also

WebFormViewEngine Class
System.Web.Mvc Namespace

Return to top