ModelStateDictionary 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ModelStateDictionary() |
初始化 ModelStateDictionary 类的新实例。 |
ModelStateDictionary(ModelStateDictionary) |
使用从指定的 |
ModelStateDictionary(Int32) |
初始化 ModelStateDictionary 类的新实例。 |
ModelStateDictionary()
- Source:
- ModelStateDictionary.cs
- Source:
- ModelStateDictionary.cs
- Source:
- ModelStateDictionary.cs
初始化 ModelStateDictionary 类的新实例。
public:
ModelStateDictionary();
public ModelStateDictionary ();
Public Sub New ()
适用于
ModelStateDictionary(ModelStateDictionary)
- Source:
- ModelStateDictionary.cs
- Source:
- ModelStateDictionary.cs
- Source:
- 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)
- Source:
- ModelStateDictionary.cs
- Source:
- ModelStateDictionary.cs
- Source:
- 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