Load the collection from a stream.
Source position: streamcoll.pp line 68
public procedure TStreamCollection.LoadFromStream( |
S: TStream |
); |
S |
|
Stream to load collection from. |
LoadFromStream loads the collection from the stream S, if the collection was saved using SaveToStream. It reads the number of items in the collection, and then creates and loads the items one by one from the stream.
An exception may be raised if the stream contains invalid data.
|
Load the collection from the stream. |