ViewDataDictionary.Contains Method

Visual Studio 2010

Determines whether the collection contains the specified item.

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

'Declaration
Public Function Contains ( _
	item As KeyValuePair(Of String, Object) _
) As Boolean

Parameters

item
Type: System.Collections.Generic.KeyValuePair(Of 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(Of T).Contains(T)

Community Additions

ADD
Show: