Create Method
Creates the default view page instance.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function Create ( _
controllerContext As ControllerContext, _
type As Type _
) As Object
'Usage
Dim instance As BuildManagerCompiledView..::..DefaultViewPageActivator
Dim controllerContext As ControllerContext
Dim type As Type
Dim returnValue As Object
returnValue = instance.Create(controllerContext, _
type)
public Object Create(
ControllerContext controllerContext,
Type type
)
public:
virtual Object^ Create(
ControllerContext^ controllerContext,
Type^ type
) sealed
public final function Create(
controllerContext : ControllerContext,
type : Type
) : Object
Parameters
- controllerContext
Type: System.Web.Mvc. . :: . .ControllerContext
The controller context.
- type
Type: System. . :: . .Type
Return Value
Type: System. . :: . .Object
The default view page instance.
Implements
IViewPageActivator. . :: . .Create(ControllerContext, Type)
See Also
Reference
BuildManagerCompiledView. . :: . .DefaultViewPageActivator Class