Interface IRemoveValue<TKey, TValue>
An interface to provide conditional removal of an item from a concurrent dictionary.
Namespace: Lucene.Net.Support
Assembly: Lucene.Net.dll
Syntax
public interface IRemoveValue<TKey, TValue>
Type Parameters
Name | Description |
---|---|
TKey | |
TValue |
Remarks
Generally implemented as a struct and passed by ref to save stack space and to retrieve the values that where inserted or updated.
Methods
| Improve this Doc View SourceRemoveValue(TKey, TValue)
Called when the dictionary is about to remove the key/value pair provided, return true to allow it's removal, or false to prevent it from being removed.
Declaration
bool RemoveValue(TKey key, TValue value)
Parameters
Type | Name | Description |
---|---|---|
TKey | key | |
TValue | value |
Returns
Type | Description |
---|---|
System.Boolean |