ModelBinderProviderCollection.GetBinder Method

Returns a model binder of the specified type.

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

public IModelBinder GetBinder(
	Type modelType
)

Parameters

modelType
Type: System.Type
The type of the model binder.

Return Value

Type: System.Web.Mvc.IModelBinder
A model binder of the specified type.
Show: