RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.SaveToStream Method

Writes the data in the tree view to the stream passed as the Stream parameter.

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

Use the SaveToStream method to stream out the nodes in a tree view. It can be streamed back in to another tree view object using the LoadFromStream method. 

The format for tree view data used by the SaveToStream and LoadFromStream methods lists the Text property for each node. Data associated with the nodes is not saved or loaded. 

 

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