TCustomVariantType.CastTo procedure
Cast a custom variant to another type.
Declaration
procedure CastTo(var Dest: tvardata; const Source: tvardata;
const aVarType: tvartype); virtualArguments
Dest | Variant to store the cast value in. |
Source | Custom variant to cast to new type
|
aVarType | Variant type to cast the custom variant to. |
Description
CastTo is called when a custom variant value
Source is cast
to a variant type
aVarType and stores the result in
Dest.
Descendents must override this method to provide the desired conversion behaviour.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
