共用方式為


ModelBinderAttribute(Type) 建構函式

定義

初始化 ModelBinderAttribute 類別的新執行個體。

public ModelBinderAttribute(Type binderType);
new System.Web.Mvc.ModelBinderAttribute : Type -> System.Web.Mvc.ModelBinderAttribute
Public Sub New (binderType As Type)

參數

binderType
Type

繫結器的型別。

例外狀況

binderType 參數為 null。

適用於