ModelBinderProviderCollection.GetBinder(Type) Method

Definition

Returns a model binder of the specified type.

public System.Web.Mvc.IModelBinder GetBinder (Type modelType);
member this.GetBinder : Type -> System.Web.Mvc.IModelBinder
Public Function GetBinder (modelType As Type) As IModelBinder

Parameters

modelType
Type

The type of the model binder.

Returns

A model binder of the specified type.

Applies to