TimeOut

Determines the time in seconds that a cached item will remain in the cache - Read/Write.

Note: The Timeout property is only used if the persistence property of the WebCacheItem is set to 2 - ddTimeout.

Syntax

object.TimeOut [= value]

The TimeOut property syntax has the following parts:

Part Description
object A valid WebCacheItem object
value Long value.

Data Type

Long

Example

'This example demonstrates how to use the
'Timeout property of the WebCachItem class.
'In the example "aWebCache" is a pre-existing
'variable dimensioned as webcache and it
'has been populated with a webcacheitem 
Dim aWebCacheItem As New WebCacheItem
Set aWebCacheItem = aWebCache.Item(0)
aWebCache.Item(0).Persistence = ddTimeout
aWebCacheItem.Timeout = 30

Remarks

Default value = 0