Skip to main content

TcxValueType.GetValue(PAnsiChar) Method

Obtains a value from the specified memory buffer.

Declaration

class function GetValue(ABuffer: PAnsiChar): Variant; virtual;

Parameters

Name Type Description
ABuffer PAnsiChar

The pointer to the source memory buffer that contains a value of the type that corresponds to the current TcxValueType class descendant.

Returns

Type Description
Variant

The obtained value. The function returns Null if the ABuffer parameter accepts nil (in Delphi) or nullptr (in C++Builder) or an error occurs.

See Also