ModelBinderAttribute Konstruktoren

Definition

Überlädt

ModelBinderAttribute()

Initialisiert eine neue Instanz von ModelBinderAttribute.

ModelBinderAttribute(Type)

Initialisiert eine neue Instanz von ModelBinderAttribute.

ModelBinderAttribute()

Initialisiert eine neue Instanz von ModelBinderAttribute.

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

Gilt für:

ModelBinderAttribute(Type)

Initialisiert eine neue Instanz von 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)

Parameter

binderType
Type

Eine Type , die implementiert IModelBinder.

Hinweise

Unterklasse dieses Attribut, und legen Sie fest BindingSource , ob Custom für das angegebene binderTypenicht richtig ist.

Gilt für: