IExtensibleModelBinder.BindModel Method (ControllerContext, ExtensibleModelBindingContext)
Binds the model to a value by using the specified controller context and binding context.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
bool BindModel(
ControllerContext controllerContext,
ExtensibleModelBindingContext bindingContext
)
bool BindModel(
ControllerContext^ controllerContext,
ExtensibleModelBindingContext^ bindingContext
)
abstract BindModel :
controllerContext:ControllerContext *
bindingContext:ExtensibleModelBindingContext -> bool
Function BindModel (
controllerContext As ControllerContext,
bindingContext As ExtensibleModelBindingContext
) As Boolean
Parameters
controllerContext
Type: System.Web.Mvc.ControllerContextThe controller context.
bindingContext
Type: Microsoft.Web.Mvc.ModelBinding.ExtensibleModelBindingContextThe binding context.
Return Value
Type: System.Boolean
The bound value.
See Also
IExtensibleModelBinder Interface
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top