Share via


MutableObjectModelBinder.BindModel Method (ControllerContext, ExtensibleModelBindingContext)

 

Binds the model 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 virtual bool BindModel(
    ControllerContext controllerContext,
    ExtensibleModelBindingContext bindingContext
)
public:
virtual bool BindModel(
    ControllerContext^ controllerContext,
    ExtensibleModelBindingContext^ bindingContext
)
abstract BindModel : 
        controllerContext:ControllerContext *
        bindingContext:ExtensibleModelBindingContext -> bool
override BindModel : 
        controllerContext:ControllerContext *
        bindingContext:ExtensibleModelBindingContext -> bool
Public Overridable Function BindModel (
    controllerContext As ControllerContext,
    bindingContext As ExtensibleModelBindingContext
) As Boolean

Parameters

Return Value

Type: System.Boolean

true in all cases.

Implements

IExtensibleModelBinder.BindModel(ControllerContext, ExtensibleModelBindingContext)

See Also

MutableObjectModelBinder Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top