ITrkCriteriaSets.Item (method)

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

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


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