HttpPostedFileBaseModelBinder.BindModel Method (ControllerContext, ModelBindingContext)

 

Binds the model.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.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

BindModel

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)

Exceptions

Exception

Condition

ArgumentNullException

One or both parameters are null.

See Also

HttpPostedFileBaseModelBinder Class
System.Web.Mvc Namespace

Return to top