Sign in Join
FPDoc Onlineexperiment

TRttiXMLConfig.WriteProperty procedure

Member of TRttiXMLConfigprotectedIn unit Laz2_XMLCfg

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

Declaration

pascal
procedure WriteProperty(Path: string; Instance: TObject; 
                       PropInfo: Pointer; DefInstance: TObject=Nil; 
                       OnlyProperty: string='')
procedure WriteProperty(Path: string; Instance: TObject; 
                       PropInfo: Pointer; DefInstance: TObject; 
                       const OnlyProperty: Array of string = 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.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.