PrtService.GetItemList (Method)

Syntax

PrtService.GetItemList

Description

Gets a list of all items for the tracking service. Upon rerun, the total item count may be obtained from ItemCount and the individual items may be accessed via the Item function.

To get the item list for a particular item class, set PrtService.ItemClassId to the desired item class id before calling PrtService.GetItemList.

Example

Dim ServiceA as new PrtService
ServiceA.Id = "SERVICE_A"
' Get a list of items in the service and display them one by
'   one in a message box.
ServiceA.GetItemList
for j = 0 to ServiceA.ItemCount - 1
     MsgBox ServiceA.Item(j).Itemid
next j