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。

适用于