PrtRegion.ItemTypeCount (Property Read)

Syntax

PrtRegion.ItemTypeCount

Description

Integer property to get the number of item types available for the region.

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.