PrtRegion.GetData (Method)

Syntax

PrtRegion.GetData

Description

Returns region information such Status, TotalItems, Capacity, StatusPointId, and TotalItemsPointId, which then become available through the object.

Example

'Example of PrtRegion.StatusBit Function using a constant to

'   get the Region Full status bit and display it's status in

'   a message box

Dim DestRegion as new PrtRegion

DestRegion.Id ="Region_Name"              'Replace Region Name

DestRegion.GetData

If DestRegion.StatusBit(PRT_REGION_FULL) Then

       MsgBox "Region Full"

Else

       MsgBox "Region Not Full"

End If

More information

PRT Object Model member list.