[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Save the contents of the string to a stream.
Source position: classesh.inc line 759
public procedure TStrings.SaveToStream( |
Stream: TStream |
); virtual; overload; |
Stream: TStream; |
IgnoreEncoding: Boolean |
); overload; |
Stream: TStream; |
AEncoding: TEncoding |
); virtual; overload; |
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.
An EStreamError exception can be raised if the stream cannot be written to.
|
Save the contents of the list to a file. |
|
|
Load the contents of a stream as a series of strings. |
|
|
Load the contents of a file as a series of strings. |