ITrkRegion.GetStatusBit (method)

method GetStatusBit
Syntax: object.GetStatusBit nBit, out
Parameters:
nBit As Integer -

Region Status Bit to return (0 - 31)
out As Variant -

Variable to contain the result
Description:
The GetStatusBit method will get the status bit in the current region.

Example:

Dim oRegionAgent As Object
Dim bstat As Boolean
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.GetStatusBit 12, bstat
...
...