ModelBinderDictionary.ContainsKey Method

Determines whether the model binder dictionary contains an element that has the specified key.

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

'Declaration
Public Function ContainsKey ( _
	key As Type _
) As Boolean
'Usage
Dim instance As ModelBinderDictionary 
Dim key As Type 
Dim returnValue As Boolean 

returnValue = instance.ContainsKey(key)

Parameters

key
Type: System.Type

The key to locate in the IDictionary(Of TKey, TValue) object.

Return Value

Type: System.Boolean
true if the model binder dictionary contains an element that has the specified key; otherwise, false.

Implements

IDictionary(Of TKey, TValue).ContainsKey(TKey)

ExceptionCondition
ArgumentNullException

key is Nothing.

Show: