System.Classes.TWriter.WriteBoolean
Delphi
procedure WriteBoolean(Value: Boolean);
C++
void __fastcall WriteBoolean(bool Value);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TWriter |
Description
Writes the value-type indicator, determined by the passed Boolean Value, to the writer object's stream.
WriteBoolean is used internally by the component streaming system to write boolean properties of components to the writer object's stream:
- If
ValueisTrue, then WriteBoolean callsWriteValue(vaTrue). - If
ValueisFalse, then WriteBoolean callsWriteValue(vaFalse).
WriteBoolean advances the current position after the written value-type indicator.