System.Classes.TReader.SkipValue
Delphi
procedure SkipValue;
C++
void __fastcall SkipValue(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TReader |
Description
Skips the next value at the current Position in the reader object's stream.
SkipValue calls ReadValue to read the value-type indicator to recognize the type of the next value. Then SkipValue skips the value of the recognized type positioning the stream at the start of the next unread value.
Note: SkipValue skips only one value when reading a group of items that are sequentially read from the stream. If that value is a List, Collection or any other compound value, the entire compound value is skipped.