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。