[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Classes' (#rtl)

# TWriter.WriteVariant

Write a variant to the stream

## Declaration

Source position: classesh.inc line 1606

`public procedure TWriter.WriteVariant(`
`const VarValue: Variant`
`);`

## Description

WriteVariant writes Value, a simple variant, o the stream. It simply passes the string on to the WriteVariant method of the writer driver class.

## See also

TBinaryObjectWriter.WriteVariant |  | Write a variant to the stream
TReader.ReadVariant |  | Read a variant from the stream

Documentation generated on: May 14 2021