Remove Method (TKey, TValue)
From Wintellect PowerCollections
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Removes a given value from the values associated with a key. If the
last value is removed from a key, the key is removed also.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
| C# |
|---|
public bool Remove( TKey key, TValue value ) |
| Visual Basic (Declaration) |
|---|
Public Function Remove ( _ key As TKey, _ value As TValue _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool Remove ( TKey key, TValue value ) sealed |
Parameters
- key
- TKey
A key to remove a value from.
- value
- TValue
The value to remove.
Return Value
True if value was associated with key (and was therefore removed). False if value was not associated with key.
See Also
Wintellect.PowerCollections Namespace