ITrkRegions.Item (read-only property)

property Item
Syntax: VARIANT*pVal = object.Item ( Index )
Index As VARIANT -

Index within the collection to view. Index starts at 1.
The Item property will return a specific region object from the regions collection.


Dim oRegionAgent As Object
Set oRegionAgent = CreateObject("Tracker.TrkRegionAgent")
Dim oRegions As Object
Dim oRegion As Object
oRegionAgent.ProjectID = "PA1"
Set oRegions = oRegionAgent.Execute
Set oRegion = oRegions.Item(1)
oRegion.DeleteItem "A1", ""