ITrkItemAgent.RemoveRegion (method)

method RemoveRegion
Syntax: object.RemoveRegion nIndex
Parameters:
nIndex As Long -

Region Index
Description:
The RemoveRegion method will remove a region from the region search 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", -3, -3, "PROJ2"
oTrkItemAgent.RemoveRegion 1 // remove A_TP1 from the list
oTrkItemAgent.Execute oTrkItems
...
...
...