GenericModelBinderProvider.GetBinder Method (ModelBindingExecutionContext, ModelBindingContext)
.NET Framework (current version)
Gets a model binder
Assembly: System.Web (in System.Web.dll)
Public Overrides Function GetBinder ( modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext ) As IModelBinder
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The execution context.
- bindingContext
-
Type:
System.Web.ModelBinding.ModelBindingContext
The binding context.
Return Value
Type: System.Web.ModelBinding.IModelBinderA model binder, or null if the attempt to get a model binder is unsuccessful.
.NET Framework
Available since 4.5
Available since 4.5
Show: