Returns the distributed map instance with the specified name.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.1.0
Syntax
Parameters
- name
- Type: SystemString
name of the distributed map
Type Parameters
- TKey
- The type of the keys in the map
- TValue
- The type of the values in the map
Return Value
Type: IMapTKey, TValuedistributed map instance with the specified name
Remarks
Examples
var myMap = hazelcastInstance.GetMap<string,int>("theMap"); myMap.Put("item1",10); int value=myMap.Get("item1"); //value==10
See Also