IViewPageActivator.Create(ControllerContext, Type) 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.
Provides fine-grained control over how view pages are created using dependency injection.
public object Create (System.Web.Mvc.ControllerContext controllerContext, Type type);
abstract member Create : System.Web.Mvc.ControllerContext * Type -> obj
Public Function Create (controllerContext As ControllerContext, type As Type) As Object
Parameters
- controllerContext
- ControllerContext
The controller context.
- type
- Type
The type of the controller.
Returns
The created view page.