Skip to content

TStreamCollection.SaveToStream

Load the collection from the stream.

Declaration

Source position: streamcoll.pp line 69

public 
procedure TStreamCollection.SaveToStream(S: TStream);

Description

SaveToStream saves the collection to the stream S so it can be read from the stream with LoadFromStream. It does this by writing the number of collection items to the stream, and then streaming all items in the collection by calling their SaveToStream method.

Errors

None.

See also

Name Description
TStreamCollection.LoadFromStream Load the collection from a stream.