IModelBinder.BindModel Method

Binds the model to a value by using the specified controller context and binding context.

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

function 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.
Show: