Export (0) Print
Expand All

HttpPostedFileBaseModelBinder.BindModel Method

Binds the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Function BindModel ( _
	controllerContext As ControllerContext, _
	bindingContext As ModelBindingContext _
) As Object
'Usage
Dim instance As HttpPostedFileBaseModelBinder 
Dim controllerContext As ControllerContext 
Dim bindingContext As ModelBindingContext 
Dim returnValue As Object 

returnValue = instance.BindModel(controllerContext, _
	bindingContext)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

bindingContext
Type: System.Web.Mvc.ModelBindingContext

The binding context.

Return Value

Type: System.Object
The bound value.

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)

ExceptionCondition
ArgumentNullException

One or both parameters are Nothing.

Show:
© 2014 Microsoft