ViewDataDictionary.Contains Method (KeyValuePair<String, Object>)

 

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<StringObject>

The object to locate in the collection.

Return Value

Type: System.Boolean

true if item is found in the collection; otherwise, false.

Return to top
Show: