ModelBinderDictionary.Contains(KeyValuePair<Type,IModelBinder>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定模型联编程序字典是否包含指定的值。
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。