Skip to main content
Table of Contents

TTMSMCPPersistence.LoadSettingsFromFile Method

Populates the given object from a JSON file.

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

Syntax

TMS.MCP.Persistence.hppPascalC++
class procedure LoadSettingsFromFile(AObject: TObject; AFileName: string);
__classmethod void __fastcall LoadSettingsFromFile(System::TObject* AObject, System::UnicodeString AFileName);

Parameters

Name Description
AObject The object to populate.
AFileName The path of the JSON file to read.