GenericModelBinderProvider.GetBinder Method (ModelBindingExecutionContext, ModelBindingContext)

.NET Framework (current version)
 

Gets a model binder

Namespace:   System.Web.ModelBinding
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.IModelBinder

A model binder, or null if the attempt to get a model binder is unsuccessful.

.NET Framework
Available since 4.5
Return to top
Show: