Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
Protected MustOverride Function CreatePartialView ( _
controllerContext As ControllerContext, _
partialPath As String _
) As IView
protected abstract IView CreatePartialView(
ControllerContext controllerContext,
string partialPath
)
protected:
virtual IView^ CreatePartialView(
ControllerContext^ controllerContext,
String^ partialPath
) abstract
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- partialPath
Type: System.String
The partial path for the new partial view.
Return Value
Type: System.Web.Mvc.IView
A reference to the partial view.