IHazelcastInstanceGetMapK, V Method Hazelcast .Net Client Class Library
Returns the distributed map instance with the specified name.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

IMap<K, V> GetMap<K, V>(
	string name
)

Parameters

name
Type: SystemString
name of the distributed map

Type Parameters

K
The type of the keys in the map
V
The type of the values in the map

Return Value

Type: IMapK, V
distributed map instance with the specified name
Remarks

Returns the distributed map instance with the specified name.
Examples

var myMap = hazelcastInstance.GetMap<string,int>("theMap");
myMap.Put("item1",10);
int value=myMap.Get("item1");
//value==10
See Also

Reference