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

Namespace:  Mindscape.LightSpeed.Web.Mvc
Assembly:  Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)

Syntax

C#
public Object BindModel(
	ControllerContext controllerContext,
	ModelBindingContext bindingContext
)
Visual Basic (Declaration)
Public Function BindModel ( _
	controllerContext As ControllerContext, _
	bindingContext As ModelBindingContext _
) As Object

Parameters

controllerContext
Type: ControllerContext
The controller context.
bindingContext
Type: ModelBindingContext
The binding context.

Return Value

The entity with values bound from the form.

Implements

IModelBinderBindModel(ControllerContext, ModelBindingContext)

See Also