RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteBoolean Method

Writes the Boolean value passed in Value to the writer object's stream.

Pascal
procedure WriteBoolean(Value: Boolean);
C++
__fastcall WriteBoolean(Boolean Value);

WriteBoolean is used internally by the component streaming system to write component properties to a stream. Use WriteBoolean for writing component boolean properties to streams. 

WriteBoolean checks to ensure that Value is the correct type before calling Write to write the boolean value and its value type to the stream. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!