Prt.ItemClassId (Property Read/Write)

Syntax

Prt.ItemClassId

Description

String property to set or get the Item Class ID in the Prt object. Used in conjunction with the Prt.GetItemList method to retrieve a list of all items of a particular item class in PRT.

Example

Dim prt as new Prt
' Get a list of item with a item class id of "CARRIER" from PRT
'    and display them one by one in a message box.
prt.ItemClassId = "CARRIER"
prt.GetItemList
for j = 0 to prt.ItemCount - 1
      MsgBox prt.Item(j).ItemId
next j