Checks whether the specified cache entry exists in the cache.
public override bool Contains(
string ,
string
)
'Declaration
Public Overrides Function Contains( _
ByVal As String, _
ByVal As String _
) As Boolean
'Usage
Dim instance As FileCache
Dim key As String
Dim regionName As String
Dim value As Boolean
value = instance.Contains(key, regionName)
@Override
public boolean contains(String key, String regionName)
public:
bool Contains(
String^ ,
String^
) override
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.