Share via


ExtensibleModelBinderAdapter.BindModel Method (ControllerContext, ModelBindingContext)

 

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

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public object BindModel(
    ControllerContext controllerContext,
    ModelBindingContext bindingContext
)
public:
virtual Object^ BindModel(
    ControllerContext^ controllerContext,
    ModelBindingContext^ bindingContext
) sealed
abstract BindModel : 
        controllerContext:ControllerContext *
        bindingContext:ModelBindingContext -> Object
override BindModel : 
        controllerContext:ControllerContext *
        bindingContext:ModelBindingContext -> Object
Public Function BindModel (
    controllerContext As ControllerContext,
    bindingContext As ModelBindingContext
) As Object

Parameters

Return Value

Type: System.Object

The bound value.

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)

See Also

ExtensibleModelBinderAdapter Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top