JVCL Help:IJvAppStoragePublishedProps
JVCL Help: IJvAppStoragePublishedProps Interface
Search in JVCL Help
Search in all projectsClass Hierarchy
IJvAppStoragePublishedProps
run\JvAppStorage.pas
Summary
If a class implements this interface all published properties of the class will be handled by JvAppStorages.Read/WritePersistent
Pascal
run\JvAppStorage.pas
IJvAppStoragePublishedProps = interface;
Description
If a class implements this interface all published properties of the class will be handled by JvAppStorages.Read/WritePersistent. This is useful in combination with IJvAppStorageHandler
If a class doesn't implement the IJvAppStorageHandler interface or if it also implements the IJvAppStoragePublishedProps interface, all published properties are written (as it currently does) and if the first is implemented it will call those methods (either in addition to the published properties or exclusively):// only published properties
TPubOnly1 = class(TPersistent)
// only published properties
TPubOnly2 = class(TInterfacedPersistent, IJvAppStoragePublishedProps)
// only the IJvAppStorageHandler methods are used; does not have to be a TPersistent descendant
// or have RTTI
TIntfOnly = class(TInterfacedObject, IJvAppStorageHandler)
// the IJvAppStorageHandler methods are used in addition to the published properties.
TIntfAndPub = class(TInterfacedPersistent, IJVAppStorageHandler, IJvAppStoragePublishedProps)
See Also
TJvCustomAppStorage.ReadPersistent,TJvCustomAppStorage.WritePersistent
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