Sign in Join
FPDoc Onlineexperiment

TCustomVariantType.CastToOle procedure

Member of TCustomVariantTypepublicIn unit Variants

Cast variant value to OLE value.

Declaration

pascal
procedure CastToOle(var Dest: tvardata; const Source: tvardata)
 ; virtual

Arguments

Dest

OLE variant to cast into.

Source

Custom variant value that must be cast.

Description

CastToOle is called when a variant must be cast to a value that can be used in OLE variants. Descendents must override this method to provide the desired conversion behaviour.

The TCustomVariantType implementation of CastToOle raises an 'unsupported' exception.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.