Clear method

Project: Resource File Unit

Unit: PJResFile.

Class: TPJResourceFile

Applies to: ~>1.0

procedure Clear;

Clears all resources from the resource file object, making the resource file empty. Calling Clear on an already empty resource file object does nothing.

All the TPJResourceEntry objects representing the resources are freed. You should make sure that you don’t keep or use any references to such objects after calling Clear.