共用方式為


ModelStateDictionary 建構函式

定義

多載

ModelStateDictionary()

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

ModelStateDictionary(ModelStateDictionary)

使用從指定的模型狀態字典複製的值,初始化 類別的新實例 ModelStateDictionary

ModelStateDictionary()

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

public ModelStateDictionary ();
Public Sub New ()

適用於

ModelStateDictionary(ModelStateDictionary)

使用從指定的模型狀態字典複製的值,初始化 類別的新實例 ModelStateDictionary

public ModelStateDictionary (System.Web.Mvc.ModelStateDictionary dictionary);
new System.Web.Mvc.ModelStateDictionary : System.Web.Mvc.ModelStateDictionary -> System.Web.Mvc.ModelStateDictionary
Public Sub New (dictionary As ModelStateDictionary)

參數

dictionary
ModelStateDictionary

模型狀態字典。

例外狀況

參數 dictionary 為 null。

適用於