ModelBinderProviderCollection::RegisterBinderForGenericType Method

.NET Framework (current version)
 

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

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

NameDescription
System_CAPS_pubmethodRegisterBinderForGenericType(Type^, Func<array<Type^>^, IModelBinder^>^)

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

System_CAPS_pubmethodRegisterBinderForGenericType(Type^, IModelBinder^)

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

System_CAPS_pubmethodRegisterBinderForGenericType(Type^, Type^)

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

Return to top
Show: