PrtGroup.GetItemList (Method)

Syntax

PrtGroup.GetItemList

Description

Gets a list of all items in the Tracking Group. On return, the total item count can be obtained from PrtGroup.ItemCount and the individual items may be accessed via the PrtGroup.Item function.

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

Example

Dim main as new Prtgroup

main.Id = "MAIN"

' Get a list of items from group "MAIN"

'    and display them one by one in a message box.

main.GetItemList

for j = 0 to main.ItemCount - 1

      MsgBox main.Item(j).ItemId

next j

More information

PRT Object Model member list.