[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Objects' (#rtl)

TCollection.Store

Write collection to a stream.

Declaration

Source position: objects.pp line 426

procedure TCollection.Store(

  var S: TStream

);

Description

Store writes the collection to the stream S. It does this by writeing 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: Nov 16 2015