ModelBinderDictionary.Contains(KeyValuePair<Type,IModelBinder>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the model binder dictionary contains a specified value.
public bool Contains (System.Collections.Generic.KeyValuePair<Type,System.Web.Mvc.IModelBinder> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<Type, System.Web.Mvc.IModelBinder> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<Type, System.Web.Mvc.IModelBinder> -> bool
Public Function Contains (item As KeyValuePair(Of Type, IModelBinder)) As Boolean
Parameters
- item
- KeyValuePair<Type,IModelBinder>
The object to locate in the ICollection<T> object.
Returns
true if item
is found in the model binder dictionary; otherwise, false.