Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > FilerHelper > Classes > TWriterHelper > Methods

TWriterHelper.WritePersistent(TPersistent) Method

Scroll Prev Top Next More

Writes the TPersistent object specified by Instance to a stream

Use the WritePersistent method when you want to write a defined property (specified by TFiler.DefineProperties method) that is a TPersistent to a stream

Namespace: FilerHelper



Type: TPersistent

Then, create your reader procedure and writer procedures:


procedure TMyComponent.ReadMyProp(Reader: TReader);
 procedure TMyComponent.WriteMyProp(Writer: TWriter);

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb