ModelBinderProviderCollection::RegisterBinderForType Method

.NET Framework (current version)
 

Adds a model binder provider to the collection for a non-generic type.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodRegisterBinderForType(Type^, Func<IModelBinder^>^)

Adds a model binder provider to the collection for a non-generic type by using the specified model type and model binder factory.

System_CAPS_pubmethodRegisterBinderForType(Type^, IModelBinder^)

Adds a model binder provider to the collection for a non-generic type by using the specified model type and model binder.

Return to top
Show: