ValidationStateDictionary.Remove 方法

定义

重载

Remove(KeyValuePair<Object,ValidationStateEntry>)
Remove(Object)

Remove(KeyValuePair<Object,ValidationStateEntry>)

Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs

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

参数

返回

实现

适用于

Remove(Object)

Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs
Source:
ValidationStateDictionary.cs

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

参数

key
Object

返回

实现

适用于