KeyValuePairModelBinderProvider.GetBinder Method (ModelBindingExecutionContext, ModelBindingContext)
.NET Framework (current version)
Returns a model binder for a key/value pair collection.
Assembly: System.Web (in System.Web.dll)
override GetBinder :
modelBindingExecutionContext:ModelBindingExecutionContext *
bindingContext:ModelBindingContext -> IModelBinder
Parameters
- modelBindingExecutionContext
-
Type:
System.Web.ModelBinding.ModelBindingExecutionContext
The execution context.
- bindingContext
-
Type:
System.Web.ModelBinding.ModelBindingContext
The model binding context.
Return Value
Type: System.Web.ModelBinding.IModelBinderThe model binder, or null if the value provider does not contain a key and a value.
.NET Framework
Available since 4.5
Available since 4.5
Show: