Syntax
PrtRegion.ItemClassId
Description
String property to set or get the Item Class ID in the PrtRegion object. Used in conjunction with the PrtRegion.GetItemList method to retrieve a list of all items of a particular item class in a Tracking Region.
Example
Dim Region as new Prtregion
Region.Id = "PRODUCTION"
Region.ItemClassId = "CARRIER"
Region.GetItemList
' Get a list of items with an item class id "CARRIER" from the
' region "PRODUCTION" and display them one by one in a
' message box.
Region.ItemClassId = "CARRIER"
Region.GetItemList
for j = 0 to Region.ItemCount - 1
MsgBox Region.Item(j).ItemId
next j
PRT Object Model member list. |