Partager via


ModelBinderDictionary.Contains Method

Determines whether the model binder dictionary contains a specified value.

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

Syntax

'Declaration
Public Function Contains ( _
    item As KeyValuePair(Of Type, IModelBinder) _
) As Boolean
public bool Contains(
    KeyValuePair<Type, IModelBinder> item
)
public:
virtual bool Contains(
    KeyValuePair<Type^, IModelBinder^> item
) sealed

Parameters

Return Value

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

Implements

ICollection<T>.Contains(T)

See Also

Reference

ModelBinderDictionary Class

System.Web.Mvc Namespace