SynchronizedKeyedCollection<K,T>.Remove(K) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.