ValidationStateDictionary.Remove Method

Definition

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