ModelBinderDictionary.Contains(KeyValuePair<Type,IModelBinder>) 方法

定义

确定模型联编程序字典是否包含指定的值。

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

参数

item
KeyValuePair<Type,IModelBinder>

在 对象中查找的对象 ICollection<T>

返回

如果在 item 模型绑定器字典中找到 ,则为 true;否则为 false。

实现

适用于