HttpPostedFileBaseModelBinder.BindModel Method

Visual Studio 2010

Binds the model.

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

public 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.

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)

ExceptionCondition
ArgumentNullException

One or both parameters are null.

Community Additions

ADD
Show: