ModelStateDictionary 建構函式

定義

多載

ModelStateDictionary()

初始化 ModelStateDictionary 類別的新執行個體。

ModelStateDictionary(ModelStateDictionary)

ModelStateDictionary使用從指定的複製的值,初始化類別的新實例 dictionary

ModelStateDictionary(Int32)

初始化 ModelStateDictionary 類別的新執行個體。

ModelStateDictionary()

初始化 ModelStateDictionary 類別的新執行個體。

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

適用於

ModelStateDictionary(ModelStateDictionary)

ModelStateDictionary使用從指定的複製的值,初始化類別的新實例 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)

參數

dictionary
ModelStateDictionary

ModelStateDictionary要從中複製值的。

適用於

ModelStateDictionary(Int32)

初始化 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)

參數

maxAllowedErrors
Int32

適用於