RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.SaveToStream Method

Writes the value of the Text property to a stream object.

Pascal
procedure SaveToStream(Stream: TStream); virtual;
C++
virtual __fastcall SaveToStream(TStream Stream);

Call SaveToStream to save the strings in the list to the stream specified by the Stream parameter. SaveToStream writes the strings delimited by carriage return, line feed pairs. If the stream is a file stream, SaveToStream does the same thing as SaveToFile, except the application must create and destroy the file stream. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!