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

TSortedCollection.Store

Write the collection to the stream.

Declaration

Source position: objects.pp line 441

procedure TSortedCollection.Store(

  var S: TStream

);

Description

Storewrites the collection to the stream S. It does this by calling the inherited TCollection.Store, and then writing the Duplicatesflag to the stream.

After a Store, the collection can be loaded from the stream with the constructor Load

For an example, see TCollection.Load.

Errors

Errors can be those of TStream.Put.

See also

TSortedCollection.Load

  

Instantiates a new instance of a TSortedCollectionand loads it from stream.