Bagikan melalui


ModelStateDictionary Konstruktor

Definisi

Overload

ModelStateDictionary()

Menginisialisasi instans baru kelas ModelStateDictionary.

ModelStateDictionary(ModelStateDictionary)

Menginisialisasi instans ModelStateDictionary baru kelas dengan menggunakan nilai yang disalin dari yang ditentukan dictionary.

ModelStateDictionary(Int32)

Menginisialisasi instans baru kelas ModelStateDictionary.

ModelStateDictionary()

Sumber:
ModelStateDictionary.cs
Sumber:
ModelStateDictionary.cs
Sumber:
ModelStateDictionary.cs

Menginisialisasi instans baru kelas ModelStateDictionary.

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

Berlaku untuk

ModelStateDictionary(ModelStateDictionary)

Sumber:
ModelStateDictionary.cs
Sumber:
ModelStateDictionary.cs
Sumber:
ModelStateDictionary.cs

Menginisialisasi instans ModelStateDictionary baru kelas dengan menggunakan nilai yang disalin dari yang ditentukan dictionary.

public:
 ModelStateDictionary(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ dictionary);
public ModelStateDictionary (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary dictionary);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
Public Sub New (dictionary As ModelStateDictionary)

Parameter

dictionary
ModelStateDictionary

ModelStateDictionary untuk menyalin nilai dari.

Berlaku untuk

ModelStateDictionary(Int32)

Sumber:
ModelStateDictionary.cs
Sumber:
ModelStateDictionary.cs
Sumber:
ModelStateDictionary.cs

Menginisialisasi instans baru kelas ModelStateDictionary.

public:
 ModelStateDictionary(int maxAllowedErrors);
public ModelStateDictionary (int maxAllowedErrors);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary : int -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
Public Sub New (maxAllowedErrors As Integer)

Parameter

maxAllowedErrors
Int32

Berlaku untuk