ModelStateDictionary.Remove Method (KeyValuePair(Of String, ModelState))
.NET Framework (current version)
Removes the first occurrence of the specified item from the model-state dictionary.
Assembly: System.Web (in System.Web.dll)
Parameters
- item
-
Type:
System.Collections.Generic.KeyValuePair(Of String, ModelState)
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.
Implements
ICollection(Of T).Remove(T)
.NET Framework
Available since 4.5
Available since 4.5
Show: