Partager via


ModelStateDictionary Constructeurs

Définition

Surcharges

ModelStateDictionary()

Initialise une nouvelle instance de la classe ModelStateDictionary.

ModelStateDictionary(ModelStateDictionary)

Initialise une nouvelle instance de la classe à l’aide ModelStateDictionary de valeurs copiées à partir du spécifiédictionary.

ModelStateDictionary(Int32)

Initialise une nouvelle instance de la classe ModelStateDictionary.

ModelStateDictionary()

Source:
ModelStateDictionary.cs
Source:
ModelStateDictionary.cs
Source:
ModelStateDictionary.cs

Initialise une nouvelle instance de la classe ModelStateDictionary.

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

S’applique à

ModelStateDictionary(ModelStateDictionary)

Source:
ModelStateDictionary.cs
Source:
ModelStateDictionary.cs
Source:
ModelStateDictionary.cs

Initialise une nouvelle instance de la classe à l’aide ModelStateDictionary de valeurs copiées à partir du spécifié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)

Paramètres

dictionary
ModelStateDictionary

à partir duquel copier les ModelStateDictionary valeurs.

S’applique à

ModelStateDictionary(Int32)

Source:
ModelStateDictionary.cs
Source:
ModelStateDictionary.cs
Source:
ModelStateDictionary.cs

Initialise une nouvelle instance de la classe 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)

Paramètres

maxAllowedErrors
Int32

S’applique à