TStream.WriteDescendent
TStream
Streams components and their properties in inherited forms.
procedure WriteDescendent(Instance, Ancestor: TComponent);
Description
Do not call WriteDescendent directly. WriteDescendent is called automatically by WriteComponent.
WriteDescendent constructs a writer object, then calls the writer object's WriteDescendent method to write the component passed in Instance to the stream. Instance is either an inherited form descended from Ancestor or nil. However, WriteDescendent is never used to write owned components, only to initiate streaming on the root component.
|