HttpPostedFileBaseModelBinder.BindModel Method
Binds the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Function BindModel ( _ controllerContext As ControllerContext, _ bindingContext As ModelBindingContext _ ) As Object 'Usage Dim instance As HttpPostedFileBaseModelBinder 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.
Implements
IModelBinder.BindModel(ControllerContext, ModelBindingContext)| Exception | Condition |
|---|---|
| ArgumentNullException | One or both parameters are Nothing. |
Show: