ValidationStateDictionary.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.
Overloads
Remove(KeyValuePair<Object,ValidationStateEntry>) | |
Remove(Object) |
Remove(KeyValuePair<Object,ValidationStateEntry>)
- Source:
- ValidationStateDictionary.cs
- Source:
- ValidationStateDictionary.cs
Removes the first occurrence of a specific object from the ICollection<T>.
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<System::Object ^, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateEntry ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<object,Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<obj, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<obj, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateEntry> -> bool
Public Function Remove (item As KeyValuePair(Of Object, ValidationStateEntry)) As Boolean
Parameters
Returns
Implements
Applies to
Remove(Object)
- Source:
- ValidationStateDictionary.cs
- Source:
- ValidationStateDictionary.cs
Removes the element with the specified key from the IDictionary<TKey,TValue>.
public:
virtual bool Remove(System::Object ^ key);
public bool Remove (object key);
abstract member Remove : obj -> bool
override this.Remove : obj -> bool
Public Function Remove (key As Object) As Boolean
Parameters
- key
- Object
Returns
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for