RAD Studio VCL Reference
TStream.WriteDescendent Method

Streams components and their properties in inherited forms.

procedure WriteDescendent(Instance: TComponent; Ancestor: TComponent);
__fastcall WriteDescendent(TComponent * Instance, TComponent * Ancestor);

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 (Delphi) or NULL (C++). However, WriteDescendent is never used to write owned components, only to initiate streaming on the root component. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!