TStrings.SaveToStream procedure
Save the contents of the string to a stream.
Declaration
procedure SaveToStream(Stream: TStream); virtual; overload
procedure SaveToStream(Stream: TStream; IgnoreEncoding: Boolean)
; overload
procedure SaveToStream(Stream: TStream; AEncoding: TEncoding); virtual
; overloadDescription
SaveToStream saves the contents of the stringlist to
Stream. It writes the strings to the stream, separated by
end-of-line markers, so each 'line' in the stream will contain 1 string from the
stringlist.
Errors
An EStreamError exception can be raised if the stream cannot be written to.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
