ModelBinderDictionary.ContainsKey Method (Type)

.NET Framework (current version)
 

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

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

public bool ContainsKey(
	Type key
)

Parameters

key
Type: System.Type

The key to search for.

Return Value

Type: System.Boolean

true if key is found; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: