PrtItem.ClearModifyTime (Method)

Syntax

PrtItem.ClearModifyTime

Description

Clears the modify time on the object. When calling Modify, PRT will reject the request if the item's last modify time is less than the current modify time of the item in PRT. Calling ClearModifyTime overrides this behavior. This should be used with care, since you may overwrite properties of the object that the user may have manipulated through prt_ui, etc.

Example

Dim prt as new Prt

' Get a list of items from PRT

'    and initialize the modify time for each.

prt.GetItemList

for j = 0 to prt.ItemCount - 1

        prt.Item(j).ClearModifyTime

        prt.Item(j).Modify

next j

More information

PRT Object Model member list.