Partager via


ModelStateDictionary.Remove Method

Include Protected Members
Include Inherited Members

Removes an element from 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 Remove(KeyValuePair<String, ModelState>) Removes the first occurrence of the specified object from the model-state dictionary.
Public method Remove(String) Removes the element that has the specified key from the model-state dictionary.

Top

See Also

Reference

ModelStateDictionary Class

System.Web.Mvc Namespace