ModelBinderDictionary.Remove メソッド

定義

指定したキーを持つ要素をモデル バインダー ディクショナリから削除します。

オーバーロード

名前 説明
Remove(KeyValuePair<Type,IModelBinder>)

指定した要素の最初の出現箇所をモデル バインダー ディクショナリから削除します。

Remove(Type)

指定したキーを持つ要素をモデル バインダー ディクショナリから削除します。

Remove(KeyValuePair<Type,IModelBinder>)

指定した要素の最初の出現箇所をモデル バインダー ディクショナリから削除します。

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

パラメーター

item
KeyValuePair<Type,IModelBinder>

削除する項目。

返品

true itemがディクショナリから正常に削除された場合は。falseが削除されなかったか、ディクショナリで見つからなかった場合にitem

実装

適用対象

Remove(Type)

指定したキーを持つ要素をモデル バインダー ディクショナリから削除します。

public:
 virtual bool Remove(Type ^ key);
public bool Remove(Type key);
abstract member Remove : Type -> bool
override this.Remove : Type -> bool
Public Function Remove (key As Type) As Boolean

パラメーター

key
Type

削除する項目のキー。

返品

true要素が正常に削除された場合。falseが削除されたか、ディクショナリで見つからなかった場合にkeyします。

実装

適用対象