ModelStateDictionary.ContainsKey Method (String)
Determines whether the model-state dictionary contains the specified key.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- key
-
Type:
System.String
The key to locate in the model-state dictionary.
Return Value
Type: System.Booleantrue if the model-state dictionary contains the specified key; otherwise, false.
Show: