This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Determines if a particular key is contained in the cache.
Namespace: Smartsite.Tools.Caching
Assembly: Smartsite.Tools (in Smartsite.Tools.dll)
Syntax
C# | Copy Code |
---|---|
public bool Contains( string key ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Function Contains ( _ key As _ ) As |
Parameters
- key
- String
The key to locate.
Return Value
trueTruetrue if the key is contained in the cache; otherwise, falseFalsefalse.See Also
Cache Class
Smartsite.Tools.Caching Namespace