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 scavanging is needed.

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

Syntax

C#Copy imageCopy Code
public bool IsScavengingNeeded(
	int currentCacheItemCount
)
Visual Basic (Declaration)Copy imageCopy Code
Public Function IsScavengingNeeded ( _
	currentCacheItemCount As Integer _
) As 

Parameters

currentCacheItemCount
Int32
The current number of CacheItem objects in the cache.

Return Value

trueTruetrue if scavenging is needed; otherwise, falseFalsefalse.

See Also

Advanced