JVCL Help:TExtensibleInterfacedPersistent.IsStreamableExtension

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determines if the specified extension should be stored in the form file.


Pascal

 functionIsStreamableExtension(AnExtension: TAggregatedPersistentEx): Boolean; virtual;


Parameters

Parameters Description
AnExtension: TAggregatedPersistentEx Extension for which to determine if it should be stored in the form file.


Description

IsStreamableExtension determines if the specified extension should be written to the form file. It's called automatically whenever an instance of this object is being written to a filer object. The base class returns True if the class reference of the extension is registered with the filing system (i.e. the class is, directly or indirectly, handed to a call to RegisterClass or RegisterClasses) and False in all other cases. Descendants can override this method to deny specific extensions being written to the form file, in addition to the check done by the base class. The method returns True if the specified extension should be written to the form file, False if it should not be written.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page