PrtRegion.ItemType (Function)

Syntax

PrtRegion.ItemType(index)

PrtRegion.ItemType(itemTypeId$)

Description

Returns an PrtItemType object accessed by a particular index or itemItemId$.

The Region.ItemType(index) object supports the properties .Id and .Count.

Example

Dim Region as new PrtRegion

Region.id = "Schedule"

' Display Id and Number for all Item Types in a region

for i = 0 to Region.ItemTypeCount - 1

   x = Region.ItemType(i).Id & " = " & Region.ItemType(i).Count

   msgbox x

next i

More information

PRT Object Model member list.