IRegionTKey, TValueContainsKey Method |
Determines whether the IDictionary contains an element with the specified key.
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxbool ContainsKey(
TKey key
)
Function ContainsKey (
key As TKey
) As Boolean
bool ContainsKey(
TKey key
)
abstract ContainsKey :
key : 'TKey -> bool
Parameters
- key
- Type: TKey
The key to locate in the IDictionary.
Return Value
Type:
Boolean
true if the IDictionary contains an element with the key; otherwise, false.
Implements
IDictionaryTKey, TValueContainsKey(TKey)
Exceptions
Remarks
For local region instance - This only searches in the local cache.
For distributed region instance - checks to see if the key is present on the server.
See Also