[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'LazConfigStorage' (#lazutils)

TConfigStorage.ReadObject

Reads names and values from the configuration storage into properties for the specified object instance.

Declaration

Source position: lazconfigstorage.pas line 84

public procedure TConfigStorage.ReadObject(

  Path: string;

  Obj: TPersistent;

  DefObject: TPersistent = Nil;

  OnlyProperty: string = ''

);

Arguments

Path

  

Path where the property names and values read in the method are stored.

Obj

  

Persistent object where the values read in the method are stored.

DefObject

  

Persistent object with the default values for properties updated in the method.

OnlyProperty

  

Name for a single property value read and stored in Obj.


Version 4.0 Generated 2025-05-03 Home