ModelStateDictionary.Contains Method

Visual Studio 2010

Determines whether the model-state dictionary contains a specific value.

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

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

Parameters

item
Type: System.Collections.Generic.KeyValuePair(Of String, ModelState)
The object to locate in the model-state dictionary.

Return Value

Type: System.Boolean
true if item is found in the model-state dictionary; otherwise, false.

Implements

ICollection(Of T).Contains(T)

Community Additions

ADD
Show: