Unit 'Objects' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStringCollection.GetItem

Get string from the stream.

Declaration

Source position: objects.pp line 498

function TStringCollection.GetItem(

  var S: TStream

):Pointer; virtual;

Description

GetItem reads a string from the stream S and returns a pointer to it. It doesn't insert the string in the collection.

This method is primarily introduced to be able to load and store the collection from and to a stream.

Errors

The errors returned are those of TStream.ReadStr.

See also

TStringCollection.PutItem

  

Write a string to the stream.


Documentation generated on: Oct 27 2024