ViewDataDictionary.Contains Method
Determines whether the collection contains the specified item.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract Contains : item:KeyValuePair<string, Object> -> bool override Contains : item:KeyValuePair<string, Object> -> bool
Parameters
- item
- Type: System.Collections.Generic.KeyValuePair(String, Object)
The object to locate in the collection.
Implements
ICollection(T).Contains(T)
Show: