File.prototype.updateInstanceTree()

Update the instance tree of an app file.

Syntax

file.updateInstanceTree()

Description

Update the instance tree of an app file by calling their .Update method. The instance tree means the direct instances of an app and their instances recursively.

The instance tree is updated starting at the leaves and walking towards the root. That way, when calling the .Update method on any file, it is guaranteed that it’s type chain is intact. To rephrase, every file is updated before those along its type chain.

Examples

Updating a single instance.

Updating an instances and IT’S instance.