[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStream.WriteDescendent

Write component data to a stream, relative to an ancestor

Declaration

Source position: classesh.inc line 604

public procedure TStream.WriteDescendent(

  Instance: TComponent;

  Ancestor: TComponent

);

Description

WriteDescendentwrites the state of Instanceto the stream where it differs from Ancestor, i.e. only the changed properties are written to the stream.

WriteDescendentcreates a TWriterobject and calls its WriteDescendentobject. The writer is passed a binary driver objectby default.