Freigeben über


ModelStateDictionary.Add Method

Include Protected Members
Include Inherited Members

Adds an item to the model-state dictionary.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(KeyValuePair<String, ModelState>) Adds the specified item to the model-state dictionary.
Public method Add(String, ModelState) Adds an element that has the specified key and value to the model-state dictionary.

Top

See Also

Reference

ModelStateDictionary Class

System.Web.Mvc Namespace