PrtItem.ModifyTime (Property Read)

Syntax

PrtItem.ModifyTime

Description

Date property contains the time at which the Item was modified. When the user modifies the Item, PRT checks this modify time against the last modify time of the Item. If the modify time is older than the current modify time of the Item in PRT, PRT will not allow the user to change the Item. This is to prevent two processes from modifying an Item without each being aware of the other's modification. To override this behavior, call ClearModifyTime which will disable this checking.

Example

Dim Region as new prt.Region

Region.Id = "Detainment"

'Get a list of items in a region and display their modify times

'    one by one in a message box.

Region.GetItemList

For j = 0 to Region.ItemCount - 1

       msgbox Region.Item(j).ModifyTime

Next j

More information

PRT Object Model member list.