ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Remove Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.