IModelBinder.BindModel Method
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)
'Declaration Function BindModel ( _ controllerContext As ControllerContext, _ bindingContext As ModelBindingContext _ ) As Object 'Usage Dim instance As IModelBinder Dim controllerContext As ControllerContext Dim bindingContext As ModelBindingContext Dim returnValue As Object returnValue = instance.BindModel(controllerContext, _ bindingContext)
Parameters
- controllerContext
- Type: System.Web.Mvc.ControllerContext
The controller context.
- bindingContext
- Type: System.Web.Mvc.ModelBindingContext
The binding context.
Show: