TBinaryObjectWriter.WriteVariant

Write a variant to the stream

Declaration

Source position: classesh.inc line 1687

public 
  procedure WriteVariant(const VarValue: Variant);  Override;

Description

WriteVariant is overridden by TBinaryObjectWriter to write a simple variant type to the stream. WriteVariant does not write arrays types or complex types. Only null, integer (ordinal) float and string types are written.

Errors

If a non-supported type is written, then an EWriteError exception is.