RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteVariant Method

Writes a Variant value to the writer's stream.

Pascal
procedure WriteVariant(const Value: Variant);
C++
__fastcall WriteVariant(const Variant Value);

WriteVariant is used internally by the streaming system to write component properties to a stream. Use WriteVariant for writing component properties of type Variant to streams. 

WriteVariant first writes a type identifier before writing the Variant value. 

 

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