Skip to content

TCollection.GetItem

Read one item off the stream.

Declaration

Source position: objects.pp line 454

function TCollection.GetItem(var S: TStream) : Pointer;  virtual;

Description

GetItem reads a single item off the stream S, and returns a pointer to this item. This method is used internally by the Load method, and should not be used directly.

Errors

Possible errors are the ones from TStream.Get.

See also

Name Description
TStream.Get Read an object definition from the stream.
TCollection.Store Write collection to a stream.