Skip to main content
Table of Contents

ITMSMCPPersistence.SaveSettingsToStream Method

Serializes the component's settings into the given stream as JSON.

API unit family: TMS.MCP.Persistence Declaring type: ITMSMCPPersistence

Syntax

TMS.MCP.Persistence.hppPascalC++
procedure SaveSettingsToStream(AStream: TStream; AAppearanceOnly: Boolean = False);
virtual void __fastcall SaveSettingsToStream(System::Classes::TStream* AStream, bool AAppearanceOnly = false) = 0;

Parameters

Name Description
AStream Target stream that receives the JSON data.
AAppearanceOnly When True, only appearance-related properties are saved.