共用方式為


ModelStateDictionary 建構函式

定義

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

多載

ModelStateDictionary()

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

ModelStateDictionary(ModelStateDictionary)

使用現有字典集合,初始化 ModelStateDictionary 類別的新執行個體。

ModelStateDictionary()

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

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

適用於

ModelStateDictionary(ModelStateDictionary)

使用現有字典集合,初始化 ModelStateDictionary 類別的新執行個體。

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

參數

dictionary
ModelStateDictionary

字典。

例外狀況

dictionary 參數為 null

適用於