IQuaternaryDictionary.AddOrUpdate(TKey, TValue) method¶
Defined in
Type: IQuaternaryDictionaryReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
void AddOrUpdate(TKey key, TValue value)
Summary: Adds a new element with the specified key and value, or updates the value if the key already exists.
Parameters
| Name | Type | Description |
|---|---|---|
key | TKey | The key of the element to add or update. Cannot be null. |
value | TValue | The value to set for the specified key. |