Sign in Join
FPDoc Onlineexperiment

TStream.WriteDescendent procedure

Member of TStreampublicIn unit Classes

Write descendent of a component.

Declaration

pascal
procedure WriteDescendent(Instance: TComponent; Ancestor: TComponent)
 ; overload
procedure WriteDescendent(Instance: TComponent; Ancestor: TComponent; 
 aWriteUnitname: Boolean); overload

Description

WriteDescendent will create a TWriter writer class and write Instance as a descendent of Ancestor using the writer. This is used to create diff streams: only the properties where Instance differs from Ancestor are written to the stream.

See also

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