PrtItem.ParentId (Property Read/Write)

Syntax

PrtItem.ParentId

Description

String property to set or get the Parent ID of the item. Parent IDs are only valid for non-serialized items.

Example

Dim Region as new PRTRegion

Region.Id = "DETAINMENT"

' Get a list of all the items which exist in 1 location of a

'    region and display the ParentIds one by one in a message box.

Region.Loc = 0

Region.GetItemList

for j = 0 to Region.ItemCount - 1

       msgbox Region.Item(j).ParentId

next j

More information

PRT Object Model member list.