Table of Contents

ITMSFNCPersistence Interface

Interface implemented by components that support JSON-based settings persistence; provides save/load methods for files and streams and property-level filtering hooks.

API unit family: TMSFNCPersistence

Syntax

ITMSFNCPersistence = interface

Methods

Name Description
CanLoadProperty Determines whether the specified property should be applied when loading settings.
CanSaveProperty Determines whether the specified property should be included when saving settings.
LoadSettingsFromFile Restores the component's settings from the specified JSON file.
LoadSettingsFromStream Restores the component's settings from a JSON stream.
SaveSettingsToFile Serializes the component's settings to the specified JSON file.
SaveSettingsToStream Serializes the component's settings into the given stream as JSON.