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

适用于