procedure WriteComponent(const Instance: TComponent);
void __fastcall WriteComponent(TComponent* const Instance);
Initiates the writing of components and their properties to a stream. WriteComponent is used internally in the component streaming system, but can also be called directly when writing components to memory streams or database blobs.
WriteComponent constructs a writer object and calls its WriteRootComponent method to write the component specified by Instance, and its owned objects, to the stream.