共用方式為


ValidationStateDictionary.Remove 方法

定義

多載

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

Remove(KeyValuePair<Object,ValidationStateEntry>)

來源:
ValidationStateDictionary.cs
來源:
ValidationStateDictionary.cs
來源:
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)

來源:
ValidationStateDictionary.cs
來源:
ValidationStateDictionary.cs
來源:
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

傳回

實作

適用於