PrtService.ItemClassId (Property Read/Write)

Syntax

PrtService.ItemClassId

Description

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

Example

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