Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TCollection.Store

Write collection to a stream.

Declaration

Source position: objects.pp line 471

procedure TCollection.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 TCollection.Load.

Errors

Errors returned are those by TStream.Put.

See also

TCollection.Load

  

Initialize a new collection and load collection from a stream.

TCollection.PutItem

  

Put one item on the stream.


Documentation generated on: Dec 23 2024