Bagikan melalui


ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Remove Metode

Definisi

NotSupportedException Melempar pengecualian dalam semua kasus.

 virtual bool System.Collections.Generic.IDictionary<TKey,TValue>.Remove(TKey key) = System::Collections::Generic::IDictionary<TKey, TValue>::Remove;
bool IDictionary<TKey,TValue>.Remove (TKey key);
abstract member System.Collections.Generic.IDictionary<TKey,TValue>.Remove : 'Key -> bool
override this.System.Collections.Generic.IDictionary<TKey,TValue>.Remove : 'Key -> bool
Function Remove (key As TKey) As Boolean Implements IDictionary(Of TKey, TValue).Remove

Parameter

key
TKey

Kunci elemen yang akan dihapus.

Mengembalikan

NotSupportedException Melempar pengecualian dalam semua kasus.

Penerapan

Pengecualian

Dalam semua kasus.

Berlaku untuk