Add Method

ModelStateDictionary.Add Method

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.

  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
Show:
© 2016 Microsoft