IModelBinder.BindModel Method (ControllerContext, ModelBindingContext)
Binds the model to a value by using the specified controller context and binding context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
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.
Show: