Bagikan melalui


ModelBinderAttribute Konstruktor

Definisi

Overload

ModelBinderAttribute()

Menginisialisasi instans baru .ModelBinderAttribute

ModelBinderAttribute(Type)

Menginisialisasi instans baru .ModelBinderAttribute

ModelBinderAttribute()

Sumber:
ModelBinderAttribute.cs
Sumber:
ModelBinderAttribute.cs
Sumber:
ModelBinderAttribute.cs

Menginisialisasi instans baru .ModelBinderAttribute

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

Berlaku untuk

ModelBinderAttribute(Type)

Sumber:
ModelBinderAttribute.cs
Sumber:
ModelBinderAttribute.cs
Sumber:
ModelBinderAttribute.cs

Menginisialisasi instans baru .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

yang Type mengimplementasikan IModelBinder.

Keterangan

Subkelas atribut ini dan atur BindingSource jika Custom tidak benar untuk yang ditentukan binderType.

Berlaku untuk