MultiDictionaryTKey, TValueRemove Method (TKey, TValue) |
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: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed bool Remove(
TKey key,
TValue value
)
public:
virtual bool Remove(
TKey key,
TValue value
) override sealed
Parameters
- key
- Type: TKey
A key to remove a value from. - value
- Type: TValue
The value to remove.
Return Value
Type:
BooleanTrue if
value was associated with
key (and was
therefore removed). False if
value was not associated with
key.
See Also