ModelBinderProviderCollection.RegisterBinderForType Method (Type, IModelBinder)
.NET Framework (current version)
Adds a model binder provider to the collection for a non-generic type by using the specified model type and model binder.
Assembly: System.Web (in System.Web.dll)
Parameters
- modelType
-
Type:
System.Type
The model type.
- modelBinder
-
Type:
System.Web.ModelBinding.IModelBinder
The model binder.
.NET Framework
Available since 4.5
Available since 4.5
Show: