IModelBinderProvider::GetBinder Method
Returns the model binder for the specified type.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- modelType
- Type: System::Type
The type of the model.
Implementations that cannot create the requested type should return nullptr. If the ASP.NET MVC framework cannot find a model binder for a type, the default model binder will be used. Use the DefaultBinder property to set the default model binder. The default model binder for the ASP.NET MVC framework is System.Web.Mvc::DefaultModelBinder. Model binder providers run in order and before static registered providers.
Show: