ModelStateDictionary.Remove Method (String)
.NET Framework (current version)
Removes the item that has the specified key from the dictionary.
Assembly: System.Web (in System.Web.dll)
Parameters
- key
-
Type:
System.String
The key of the item to remove.
Return Value
Type: System.Booleantrue if the item was successfully removed from the dictionary, or false if the item was not removed or was not found in the dictionary.
.NET Framework
Available since 4.5
Available since 4.5
Show: