Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TBinaryObjectWriter.WriteVariant

Write a variant to the stream.

Declaration

Source position: classesh.inc line 2071

public procedure TBinaryObjectWriter.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.


Documentation generated on: Dec 22 2024