Open sandboxFocus

Method ContainsItem

ContainsItem(string)

Determines whether the cache contains an item of a given key.

Declaration
public bool ContainsItem(string key)
Parameters
Type Name Description
string key

The key of the cache item.

Returns
Type Description
bool

true if the cache contains an item whose key is key, otherwise false.