←Select platform

Contains Method

Summary

Checks whether the specified cache entry exists in the cache.

Syntax
C#
C++/CLI
Java
Python
public override bool Contains( 
   string key, 
   string regionName 
) 
public:  
   virtual bool Contains( 
      String^ key, 
      String^ regionName 
   ) override 
@Override 
public boolean contains(String key, String regionName) 
def Contains(self,key,regionName): 

Parameters

key

Unique identifier of the cache item.

regionName

Optional name of a region in cache.

Return Value

true if the specified cache entry exists in the cache, otherwise; false.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.