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

TRttiXMLConfig.WriteObject

Stores property values from an object to the specified path in the document.

Declaration

Source position: laz2_xmlcfg.pas line 169

public procedure TRttiXMLConfig.WriteObject(

  Path: string;

  Obj: TObject;

  DefObject: TObject = Nil;

  OnlyProperty: string = ''

);

Arguments

Path

  

Path used as a container for property values from the object.

Obj

  

Object instance with property values written in the method.

DefObject

  

Object instance with the default values for the properties.

OnlyProperty

  

List of property names included in the process, or all properties when omitted.

See also

TRttiXMLConfig.WriteProperty

  

Writes a property value from an object to the specified path in the XML Document.

TRttiXMLConfig.ReadObject

  

Stores property values from the specified path to an object instance.


Version 4.0 Generated 2025-05-03 Home