IsCached

Returns a Boolean value telling the developer if a specific item is still cached or not.

Syntax

object.IsCached(Id As String)

The IsCached method syntax has the following parts:

Part Description
object An expression evaluating to an object of type WebCache.
Id String

Example

'Checking to see if a webcache id is still cached
Dim blnIsCached As Boolean
Dim aWebCache As WebCache
 
Set aWebCache = New WebCache
blnIsCached=aWebCache.IsCached("1")