共用方式為


ModelBinderProviderCollection.GetBinder(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

參數

modelType
Type

模型繫結器的型別。

傳回

指定之型別的模型繫結器。

適用於