ModelStateDictionary.Add Method (KeyValuePair<String, ModelState>)
.NET Framework (current version)
Adds the specified item to the dictionary.
Assembly: System.Web (in System.Web.dll)
Parameters
- item
-
Type:
System.Collections.Generic.KeyValuePair<String, ModelState>
The item.
Implements
ICollection<T>.Add(T)
.NET Framework
Available since 4.5
Available since 4.5
Show: