This topic has not yet been rated - Rate this topic

HttpPostedFileBaseModelBinder.BindModel Method

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.