共用方式為


ModelStateDictionary 建構函式

定義

多載

ModelStateDictionary()

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

ModelStateDictionary(ModelStateDictionary)

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

ModelStateDictionary(Int32)

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

ModelStateDictionary()

來源:
ModelStateDictionary.cs
來源:
ModelStateDictionary.cs
來源:
ModelStateDictionary.cs

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

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

適用於

ModelStateDictionary(ModelStateDictionary)

來源:
ModelStateDictionary.cs
來源:
ModelStateDictionary.cs
來源:
ModelStateDictionary.cs

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

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.cs
來源:
ModelStateDictionary.cs
來源:
ModelStateDictionary.cs

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

適用於