Export (0) Print
Expand All

HttpPostedFileBaseModelBinder.BindModel Method

Binds the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

abstract BindModel : 
        controllerContext:ControllerContext * 
        bindingContext:ModelBindingContext -> Object  
override BindModel : 
        controllerContext:ControllerContext * 
        bindingContext:ModelBindingContext -> Object

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.

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)

ExceptionCondition
ArgumentNullException

One or both parameters are a null reference (Nothing in Visual Basic).

Show:
© 2014 Microsoft