Share via


ComplexModelDtoModelBinder.BindModel Method (ControllerContext, ExtensibleModelBindingContext)

 

Determines whether the specified model is binded.

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

Syntax

public bool BindModel(
    ControllerContext controllerContext,
    ExtensibleModelBindingContext bindingContext
)
public:
virtual bool BindModel(
    ControllerContext^ controllerContext,
    ExtensibleModelBindingContext^ bindingContext
) sealed
abstract BindModel : 
        controllerContext:ControllerContext *
        bindingContext:ExtensibleModelBindingContext -> bool
override BindModel : 
        controllerContext:ControllerContext *
        bindingContext:ExtensibleModelBindingContext -> bool
Public Function BindModel (
    controllerContext As ControllerContext,
    bindingContext As ExtensibleModelBindingContext
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the specified model is binded; otherwise, false.

Implements

IExtensibleModelBinder.BindModel(ControllerContext, ExtensibleModelBindingContext)

See Also

ComplexModelDtoModelBinder Class
Microsoft.Web.Mvc.ModelBinding Namespace

Return to top