ITrkItemAgent.RegionCount (method)

method RegionCount
Syntax: Long = object.RegionCount ( )
Description:
The RegionCount method will return the region count specified by the criteria.

Example:
Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkItem As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.AddRegion "A_TP1", -3, -3, "PROJ1"
oTrkItemAgent.AddRegion "C_TP1", -1, -1, "PROJ2"
MsgBox oTrkItemAgent.RegionCount // 2
...
...
...