Share via


ReadOnlyDictionary<TKey,TValue>.Remove Method

Definition

Overloads

Remove(KeyValuePair<TKey,TValue>)
Remove(TKey)

Remove(KeyValuePair<TKey,TValue>)

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

Parameters

item
KeyValuePair<TKey,TValue>

Returns

Implements

Applies to

Remove(TKey)

public:
 virtual bool Remove(TKey key);
public bool Remove (TKey key);
abstract member Remove : 'Key -> bool
override this.Remove : 'Key -> bool
Public Function Remove (key As TKey) As Boolean

Parameters

key
TKey

Returns

Implements

Applies to