PrtRegion.Loc (Property Read/Write)

Syntax

PrtRegion.Loc

Description

Integer property to set a specific region location for a subsequent GetItemList. The search will then only return a list of items which exist in that single location.

Example

Dim Region as new PrtRegion

' Get a single item from a region with its RefId and display

'    its ItemId in a message box.

Region.Loc = 0

Region.GetItemList

'Get the Item list from the first location in the region and

'    display the results in a message box

If Region.ItemCount = 0 then

       MsgBox "Region " & Region.ID & " has no Items."

Else

       Msgbox "Found " & Region.ItemCount & items."

End If

More information

PRT Object Model member list.