Documentation Center

PslResource.ChangeID

Changes the ID of the resource. This ID identifies the resource both in the source file and the target file. If the ID is changed the resource may no longer be relatable. So be careful using this function.

The function can only change the ID of on Resource in a source string list (PslSourceList). If it is called from a translation list (PslTransList) it will return False.

Syntax

Expression.ChangeID (ID as Variant) as Boolean

Expression Object of type PslResource

ID New ID for the resource. This can either be a numerical value or a string.