RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReader.ReadCollection Method

Reads a collection from the reader object's stream and returns that character value.

Pascal
procedure ReadCollection(Collection: TCollection);
C++
__fastcall ReadCollection(TCollection Collection);

ReadCollection is a helper method used by other reader methods to read a tagged collection value at the current reader Position. ReadCollection iterates through items in a collection so that each item in a collection property has an opportunity to stream out its properties. This method does not write out the number of items and the collection indices, because a user can add or delete items. 

 

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