Show: Delphi
C++
Display Preferences
System.Classes.TReader.ReadCollection
From XE2 API Documentation
Delphi
procedure ReadCollection(Collection: TCollection);
C++
void __fastcall ReadCollection(TCollection* Collection);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TReader |
Description
Reads a collection from the reader object's stream and returns that character value.
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.