Skip to content

TStream.WriteDescendent

Write descendent of a component.

Declaration

Source position: classesh.inc line 1525

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

procedure WriteDescendent(Instance: TComponent; Ancestor: TComponent; 
                         aWriteUnitname: Boolean);  overload; 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

Name Description
TWriter.WriteDescendent Write descendent to stream.