Method
Set
abstract virtual func Set(key: K, value: V) -> ()
Declaring type: MutableMap<K, V>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: MutableMap.rvn
Defined by MutableMap<K, V>.Set · Required implementation (no default).
Interface implementation: Required implementation (no default).
Inserts a missing key or replaces the value associated with an existing key.
Parameters
| Name | Type | Description |
|---|---|---|
key |
K | The key to look up or update. |
value |
V | The value on which this operation acts. |
Return value
()