Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]


Write descendent of a component.


Source position: classesh.inc line 1123

public procedure TStream.WriteDescendent(

  Instance: TComponent;

  Ancestor: TComponent

); overload;

procedure TStream.WriteDescendent(

  Instance: TComponent;

  Ancestor: TComponent;

  aWriteUnitname: Boolean

); overload;


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



Write descendent to stream.

Documentation generated on: Jul 24 2023