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>

削除する項目。

戻り値

Boolean

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

実装

適用対象

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

削除する項目のキー。

戻り値

Boolean

要素が正常に削除された場合は truekey がディクショナリから削除されなかったか、ディクショナリになかった場合は false

実装

適用対象