Item (WebCache)

Allows random access to individual nodes within the WebCache collection.

Syntax

object.Item((Index As Variant))

The Item method syntax has the following parts:

Part Description
object An expression evaluating to an object of type WebCache.
Index Variant

Example

'The example code demonstrates how to loop
'through all of the items in the
'webcache collection and
'print out each items timeout value
'Please Note that For EACH is not used in the example.
'The _NewEnum property of the webcache collection
'is not supported at this time so you cannot use For Each.
 
Dim x As Integer
For x = 0 To aWebCache.Count - 1
Debug.Print "awebcache.item(" & x & ").timeout = " & aWebCache.Item(x).TimeOut
Next