  | IMultiMapTKey, TValueTryLock Method (TKey) | 
 Tries to acquire the lock for the specified key.
 
    Namespace: 
   Hazelcast.Core
    Assembly:
   Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxFunction TryLock ( 
	key As TKey
) As Boolean
abstract TryLock : 
        key : 'TKey -> bool 
Parameters
- key
 - Type: TKey
key to lock. 
Return Value
Type: 
Booleantrue if lock is acquired, 
false otherwise.
See Also