แก้ไข

แชร์ผ่าน


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

Definition

Throws a NotSupportedException exception in all cases.

 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

Parameters

key
TKey

The key of the element to remove.

Returns

Throws a NotSupportedException exception in all cases.

Implements

Exceptions

In all cases.

Applies to