Syntax
Prt.GetItemList
Description
Gets a list of all items in PRT. After calling the method, the total item count can 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 Prt.ItemClassId to the desired item class id before calling Prt.GetItemList. See Prt.ItemClassId for more details.
Example
Dim prt as new Prt
' Get a list of item from PRT
' and display them one by one in a message box.
prt.GetItemList
for j = 0 to prt.ItemCount - 1
MsgBox prt.Item(j).ItemId
next j
PRT Object Model member list. |