This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Removes a CacheItem.

Namespace: Smartsite.Tools.Caching
Assembly:  Smartsite.Tools (in Smartsite.Tools.dll)

Syntax

C#Copy imageCopy Code
void RemoveItemFromCache(
	string key,
	 removalReason
)
Visual Basic (Declaration)Copy imageCopy Code
Sub RemoveItemFromCache ( _
	key As , _
	removalReason As  _
)

Parameters

key
String
The key of the item to remove.
removalReason
CacheItemRemovedReason
One of the CacheItemRemovedReason values.

See Also

Advanced