Export (0) Print
Expand All

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)

public bool ContainsKey(
	Type key
)

Parameters

key
Type: System.Type
The key to locate in the IDictionary<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<TKey, TValue>.ContainsKey(TKey)

ExceptionCondition
ArgumentNullException

key is null.

Show:
© 2014 Microsoft