Export (0) Print
Expand All

ViewDataDictionary.Contains Method

Determines whether the collection contains a specified item.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public bool Contains(
	KeyValuePair<string, Object> item
)

Parameters

item
Type: System.Collections.Generic.KeyValuePair<String, Object>
The object to locate in the collection

Return Value

Type: System.Boolean
true if item is found in the collection; otherwise, false.

Implements

ICollection<T>.Contains(T)

Community Additions

Show:
© 2014 Microsoft