RAD Studio VCL Reference
TReader.ReadVariant Method

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

function ReadVariant: Variant;
__fastcall Variant ReadVariant();

ReadVariant is a helper method used by other reader methods to read a tagged Variant data value at the current reader Position. ReadVariant first checks the value type (TValueType) by calling the ReadValue method. If the item is a vaVariant ReadVariant calls Read and returns the value. Otherwise it calls ReadInteger


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