TStrings.LoadFromStream procedure
Load the contents of a stream as a series of strings.
Declaration
procedure LoadFromStream(Stream: TStream); virtual; overload
procedure LoadFromStream(Stream: TStream; IgnoreEncoding: Boolean)
; overload
procedure LoadFromStream(Stream: TStream; AEncoding: TEncoding)
; virtual; overloadDescription
LoadFromStream loads the contents of
Stream
into the stringlist.
Each line in the stream (as marked by the end-of-line marker of the
particular OS the application runs on) becomes one string in the stringlist.
This action replaces
the contents of the stringlist, it does not append the strings to the
current content.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
