  | IMapTKey, TValueIsLocked Method  | 
 Checks the lock for the specified key.
 
    Namespace: 
   Hazelcast.Core
    Assembly:
   Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntaxbool IsLocked(
	TKey key
)
Function IsLocked ( 
	key As TKey
) As Boolean
bool IsLocked(
	TKey key
)
abstract IsLocked : 
        key : 'TKey -> bool 
Parameters
- key
 - Type: TKey
key to lock to be checked. 
Return Value
Type: 
Booleantrue if lock is acquired, 
false otherwise.
Remarks
                Checks the lock for the specified key.
                
                If the lock is acquired then returns true, else false.
                
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