Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Binds the model.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Function BindModel ( _
controllerContext As ControllerContext, _
bindingContext As ModelBindingContext _
) As Object
public Object BindModel(
ControllerContext controllerContext,
ModelBindingContext bindingContext
)
public:
virtual Object^ BindModel(
ControllerContext^ controllerContext,
ModelBindingContext^ bindingContext
) sealed
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)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | One or both parameters are null reference (Nothing in Visual Basic). |