ModelBinderAttribute コンストラクター

定義

オーバーロード

ModelBinderAttribute()

ModelBinderAttribute の新しいインスタンスを初期化します。

ModelBinderAttribute(Type)

ModelBinderAttribute の新しいインスタンスを初期化します。

ModelBinderAttribute()

ModelBinderAttribute の新しいインスタンスを初期化します。

public:
 ModelBinderAttribute();
public ModelBinderAttribute ();
Public Sub New ()

適用対象

ModelBinderAttribute(Type)

ModelBinderAttribute の新しいインスタンスを初期化します。

public:
 ModelBinderAttribute(Type ^ binderType);
public ModelBinderAttribute (Type binderType);
new Microsoft.AspNetCore.Mvc.ModelBinderAttribute : Type -> Microsoft.AspNetCore.Mvc.ModelBinderAttribute
Public Sub New (binderType As Type)

パラメーター

binderType
Type

Typeを実装する IModelBinder

注釈

この属性をサブクラス化し、 が指定された に対して正しくない場合Customは を設定BindingSourceしますbinderType

適用対象