ModelStateDictionary.Contains Method
Determines whether the model-state dictionary contains a specific value.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract Contains : item:KeyValuePair<string, ModelState> -> bool override Contains : item:KeyValuePair<string, ModelState> -> bool
Parameters
- item
- Type: System.Collections.Generic.KeyValuePair(String, ModelState)
The object to locate in the model-state dictionary.
Return Value
Type: System.Booleantrue if item is found in the model-state dictionary; otherwise, false.
Implements
ICollection(T).Contains(T)
Show: