System.Classes.TReader.ReadVariant

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReadVariant: Variant;

C++

System::Variant __fastcall ReadVariant();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TReader

Description

Reads and returns a Variant type value from the reader object's stream.

ReadVariant is a helper method used by other reader methods to read a tagged Variant type value at the current reader Position.

ReadVariant calls NextValue to read the value-type indicator. If the retrieved value-type indicator is:

ReadVariant advances the reader Position after the last byte it has read.

See Also