This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the item identified by the provided key
Namespace: Smartsite.Tools.Caching
Assembly: Smartsite.Tools (in Smartsite.Tools.dll)
Syntax
C# | Copy Code |
---|---|
public this[ string key ] { get; } |
Visual Basic (Declaration) | Copy Code |
---|---|
Public ReadOnly Default Property Item ( _ key As _ ) As Get |
Parameters
- key
- String
Key to retrieve from cache
Remarks
The CacheManager can be configured to use different storage mechanisms in which to store the cache items.
Each of these storage mechanisms can throw exceptions particular to their own implementations.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Provided key is null |
System..::..ArgumentException | Provided key is an empty string |
See Also
CacheManager Class
Smartsite.Tools.Caching Namespace