Skip to content

TStream.WriteDescendent

Write descendent of a component

Declaration

Source position: classesh.inc line 1113

public 
  procedure WriteDescendent(Instance: TComponent; Ancestor: TComponent);

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

Name Description
TWriter.WriteDescendent Write descendent to stream