Language

ReadOnlyDictionary.ICollectionValuePair>.Remove Method

Definition

Throws a NotSupportedException exception in all cases.

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

Parameters

item
KeyValuePair

The object to remove from the dictionary.

Returns

Throws a NotSupportedException exception in all cases.

Implements

Exceptions

In all cases.

Applies to