Language

ReadOnlyDictionary.IDictionary.Remove Method

Definition

Throws a NotSupportedException exception in all cases.

 virtual bool System.Collections.Generic.IDictionary.Remove(TKey key) = System::Collections::Generic::IDictionary::Remove;
bool IDictionary.Remove(TKey key);
abstract member System.Collections.Generic.IDictionary.Remove : 'Key -> bool
override this.System.Collections.Generic.IDictionary.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