Edit

Share via


SynchronizedKeyedCollection<K,T>.Remove(K) Method

Definition

Removes an item with a specified key from the collection and returns a value that indicates whether an item was removed.

public:
 bool Remove(K key);
public bool Remove (K key);
override this.Remove : 'K -> bool
Public Function Remove (key As K) As Boolean

Parameters

key
K

The key of the item to be removed.

Returns

true if an item with the specified key was removed; otherwise, false.

Applies to