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 imageCopy Code
public  this[
	string key
] { get; }
Visual Basic (Declaration)Copy imageCopy 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

ExceptionCondition
System..::..ArgumentNullExceptionProvided key is null
System..::..ArgumentExceptionProvided key is an empty string

See Also

Advanced