Redigera

Dela via


ModelBinderDictionary.Contains(KeyValuePair<Type,IModelBinder>) Method

Definition

Determines whether the model binder dictionary contains a specified value.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<Type ^, System::Web::ModelBinding::IModelBinder ^> item);
public bool Contains (System.Collections.Generic.KeyValuePair<Type,System.Web.ModelBinding.IModelBinder> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<Type, System.Web.ModelBinding.IModelBinder> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<Type, System.Web.ModelBinding.IModelBinder> -> bool
Public Function Contains (item As KeyValuePair(Of Type, IModelBinder)) As Boolean

Parameters

item
KeyValuePair<Type,IModelBinder>

The item to search for.

Returns

true if item is found; otherwise, false.

Implements

Applies to