ModelBinderDictionary.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the element that has the specified key from the model binder dictionary.
Overloads
Remove(KeyValuePair<Type,IModelBinder>) |
Removes the first occurrence of the specified element from the model binder dictionary. |
Remove(Type) |
Removes the element that has the specified key from the model binder dictionary. |
Remove(KeyValuePair<Type,IModelBinder>)
Removes the first occurrence of the specified element from the model binder dictionary.
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
Parameters
- item
- KeyValuePair<Type,IModelBinder>
The item to remove.
Returns
true
if item
was successfully removed from the dictionary; false
if item
was not removed or was not found in the dictionary.
Implements
Applies to
Remove(Type)
Removes the element that has the specified key from the model binder dictionary.
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
Parameters
- key
- Type
The key of the item to remove.
Returns
true
if the element was successfully removed; false
if key
was note removed or was not found in the dictionary.
Implements
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기