ITrkCriteriaSets.Item (method)

method Item
Syntax: String = object.Item ( index )
Parameters:
index As Long -

Index specifying what criteria set in the collection to get. the index is 1 Based.
Description:
The Item method will return the Criteria Set for the given index.

Example:

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
Set oCritSets = CreateObject("Tracker.TrkCriteriaSets")
For i = 1 To oCritSets.Count
oTrkItemAgent.CriteriaSet = oCritSets.Item(i)
oTrkItemAgent.Execute oTrkItems
Next i