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.
Binds the model to a value by using the specified controller context and binding context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Function BindModel ( _
controllerContext As ControllerContext, _
bindingContext As ModelBindingContext _
) As Object
Object BindModel(
ControllerContext controllerContext,
ModelBindingContext bindingContext
)
Object^ BindModel(
ControllerContext^ controllerContext,
ModelBindingContext^ bindingContext
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- bindingContext
Type: System.Web.Mvc.ModelBindingContext
The binding context.
Return Value
Type: System.Object
The bound value.