ITrkRegions.Count (read-only property)

property Count
Syntax: long*pVal = object.Count
Description:
The Count property will return the number of region objects in the regions collection.

Example:

Dim oRegionAgent As Object
Set oRegionAgent = CreateObject("Tracker.TrkRegionAgent")
Dim oRegions As Object
Dim oRegion As Object
oRegionAgent.ProjectID = "PA1"
Set oRegions = oRegionAgent.Execute
Count = oRegions.Count
...
...