| IMapTKey, TValueSet Method (TKey, TValue) |
Puts an entry into this map.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax void Set(
TKey key,
TValue value
)
Sub Set (
key As TKey,
value As TValue
)
void Set(
TKey key,
TValue value
)
abstract Set :
key : 'TKey *
value : 'TValue -> unit
Parameters
- key
- Type: TKey
key of the entry - value
- Type: TValue
value of the entry
Remarks
Puts an entry into this map.
Similar to
Put(TKey, TValue) operation except that
Set
doesn't return the old value which is more efficient.
Warning:
This method uses
GetHashCode and
Equals of binary form of
the
key, not the actual implementations of
GetHashCode and
Equals
defined in
key's class.
See Also