Skip to content

TCollection.GetItem

Read one item off the stream.

Declaration

Source position: objects.pp line 440

default 
  function 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
TCollection.Store Write collection to a stream.
TStream.Get Read an object definition from the stream.