[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Objects' (#rtl)

TStrCollection.PutItem

Write a null-terminated string to the stream.

Declaration

Source position: objects.pp line 465

procedure TStrCollection.PutItem(

  var S: TStream;

  Item: Pointer

); virtual;

Description

PutItemwrites the string pointed to by Itemto the stream S.

This method is primarily used in the Loadand Storemethods, and should not be used directly.

Errors

Errors are those of TStream.StrWrite.

See also

TStrCollection.GetItem

  

Read a null-terminated string from the stream.