Click or drag to resize
ExpiringDictionaryTKey, TValueUpsert Method
Adds or updates an item in the dictionary. If the key is already in use then the value is overwritten but the timestamp is not refreshed.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool Upsert(
	TKey key,
	TValue value
)

Parameters

key
Type: TKey
value
Type: TValue

Return Value

Type: Boolean
True if the item existed and was updated, false if it had to be added.
See Also