Sign in Join
FPDoc Onlineexperiment

TCollection.Store procedure

Member of TCollectionIn unit Objects

Write collection to a stream.

Declaration

pascal
procedure Store(var S: TStream)

Description

Store writes the collection to the stream S. It does this by writing the current Count, Limit and Delta to the stream, and then writing each item to the stream.

The contents of the stream are then suitable for instantiating another collection with Load.

For an example, see Load.

Errors

Errors returned are those by Put.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.