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

TRttiXMLConfig.WriteProperty

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

Declaration

Source position: laz2_xmlcfg.pas line 162

protected procedure TRttiXMLConfig.WriteProperty(

  Path: string;

  Instance: TObject;

  PropInfo: Pointer;

  DefInstance: TObject = Nil;

  OnlyProperty: string = ''

);

Arguments

Path

  

Path to the DOM node where property values are stored.

Instance

  

Object instance with property value examined in the method.

PropInfo

  

RTTI property information used to get the value written in the method.

DefInstance

  

Object instance used to provide a default value for the property.

OnlyProperty

  

List of property names included in the process; all properties are included when omitted.


Version 4.0 Generated 2025-05-03 Home